#8A7273 Mocha
rgb(138, 114, 115)
Color conversions
- HEX
- #8A7273
- RGB
- rgb(138, 114, 115)
- RGBA
- rgba(138, 114, 115, 1)
- HSL
- hsl(358, 10%, 49%)
- HSV / HSB
- hsv(358, 17%, 54%)
- CMYK
- cmyk(0%, 17%, 17%, 46%)
Wide-gamut spaces
- XYZ
- xyz(19.593, 18.676, 18.789)
- LAB
- lab(50.31 9.56 2.97)
- LCH
- lch(50.31 10.01 17.28)
- OKLAB
- oklab(57.52% 0.0292 0.0079)
- OKLCH
- oklch(57.52% 0.0302 15.24)
- Nearest name
- Mocha
Shades, tints and tones
Color harmonies
The hue directly opposite on the color wheel. Maximum contrast, ideal for a single accent against a dominant brand color.
Neighbouring hues that share a temperature. The safest harmony for calm, cohesive interfaces.
Three hues evenly spaced 120 degrees apart. Vibrant and balanced — use one as dominant and the other two sparingly.
The complement split into two adjacent hues. Nearly the contrast of complementary with noticeably less tension.
Four hues at 90-degree intervals. A rich set for illustration, data visualisation, and category coding.
Two complementary pairs offset by 60 degrees. Gives two warm and two cool options in one system.
Similar colors
Opacity variations
#8a72731a
#8a727333
#8a72734d
#8a727366
#8a727380
#8a727399
#8a7273b3
#8a7273cc
#8a7273e6
#8a7273ff
Accessibility and contrast
On white
4.43:1
Body text AA Large · Large text AA
On black
4.74:1
Body text AA · Large text AA
White-on-color contrast is 4.43:1.
Color blindness preview
Protanopia
No red cones — ~1% of men
Protanomaly
Reduced red sensitivity — ~1% of men
Deuteranopia
No green cones — ~1% of men
Deuteranomaly
Reduced green sensitivity — ~5% of men
Tritanopia
No blue cones — very rare
Tritanomaly
Reduced blue sensitivity — very rare
Achromatopsia
No color perception — ~1 in 30,000
Achromatomaly
Partial color perception — rare
Meaning, psychology and brand usage
The structural colour every interface actually runs on
Neutral grays carry no emotional charge, which is precisely their value: they let content and brand colour do the signalling. Their temperature matters more than designers expect — a cool gray beside a warm brand colour reads as a mistake.
Neutrality, professionalism, and precision. Overuse reads as noncommittal or unfinished.
Payne's gray, mixed rather than mined, became the painter's shortcut for atmospheric shadow. Swiss modernism turned systematic gray scales into a design methodology.
Build a full gray ramp before choosing a brand colour. Match the gray's temperature to the brand hue and reserve the darkest steps for type rather than large fills.
Common industries: Enterprise, Architecture, Automotive, Consulting, Hardware. Pairs well with a single saturated accent, warm white for text surfaces, near-black for hierarchy.
Code exports
CSS
:root {
--color-mocha: #8a7273;
--color-mocha-rgb: 138 114 115;
--color-mocha-hsl: 358 10% 49%;
--color-mocha-oklch: 57.52% 0.0302 15.24;
}
.element {
color: #8a7273;
background-color: hsl(358, 10%, 49%);
border: 1px solid rgb(138 114 115 / 40%);
}SCSS
$mocha: #8a7273;
$mocha-light: #c5b9b9;
$mocha-dark: #45393a;
.element {
color: $mocha;
background: rgba($mocha, 0.12);
&:hover {
color: darken($mocha, 8%);
}
}LESS
@mocha: #8a7273;
@mocha-light: lighten(@mocha, 12%);
@mocha-dark: darken(@mocha, 12%);
.element {
color: @mocha;
background: fade(@mocha, 12%);
}Tailwind CSS
/* Tailwind v4 — src/styles.css */
@theme {
--color-mocha-50: #e8e3e3;
--color-mocha-100: #dcd5d5;
--color-mocha-200: #d0c7c7;
--color-mocha-300: #b9aaab;
--color-mocha-400: #a18e8f;
--color-mocha-500: #8a7273;
--color-mocha-600: #7c6768;
--color-mocha-700: #615051;
--color-mocha-800: #45393a;
--color-mocha-900: #292223;
}
/* Usage */
<div class="bg-mocha-500 text-mocha-50 ring-mocha-600" />
/* Arbitrary value, no config needed */
<div class="bg-[#8a7273]" />Bootstrap
// Bootstrap 5 — _variables.scss (before importing bootstrap)
$mocha: #8a7273;
$primary: $mocha;
$theme-colors: map-merge($theme-colors, (
"mocha": $mocha
));
// Generates .text-mocha, .bg-mocha, .btn-mocha
@import "bootstrap/scss/bootstrap";Flutter
import 'package:flutter/material.dart';
const Color mocha = Color(0xFF8A7273);
// As a MaterialColor swatch
const MaterialColor mochaSwatch = MaterialColor(0xFF8A7273, <int, Color>{
50: Color(0xFFE8E3E3),
100: Color(0xFFDCD5D5),
200: Color(0xFFD0C7C7),
300: Color(0xFFB9AAAB),
400: Color(0xFFA18E8F),
500: Color(0xFF8A7273),
600: Color(0xFF7C6768),
700: Color(0xFF615051),
800: Color(0xFF45393A),
900: Color(0xFF292223),
});Swift / SwiftUI
import SwiftUI
extension Color {
/// #8a7273 — Mocha
static let mocha = Color(
red: 0.5412,
green: 0.4471,
blue: 0.451
)
}
// UIKit
extension UIColor {
static let mocha = UIColor(
red: 0.5412,
green: 0.4471,
blue: 0.451,
alpha: 1.0
)
}Android
<!-- res/values/colors.xml -->
<resources>
<color name="mocha">#8A7273</color>
<color name="mocha_translucent">#808A7273</color>
</resources>
<!-- Jetpack Compose -->
val Mocha = Color(0xFF8A7273)JavaScript
export const MOCHA = {
hex: "#8a7273",
rgb: [138, 114, 115],
hsl: [358, 10, 49],
oklch: "oklch(57.52% 0.0302 15.24)",
};JSON tokens
{
"$schema": "https://design-tokens.org/schema.json",
"mocha": {
"$type": "color",
"$value": "#8a7273",
"$description": "Mocha — generated by ColorVerse AI"
}
}