#812B4E#812B4E
#812B4E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.123 H 358.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #812B4E |
|---|---|
| RGB | rgb(129, 43, 78) |
| HSL | hsl(336, 50%, 34%) |
| HSV | hsv(336, 67%, 51%) |
| CMYK | cmyk(0%, 66.7%, 39.5%, 49.4%) |
| CIE-LAB | lab(31.68, 40.27, -1.39) |
| CIE-LCH | lch(31.68, 40.30, 358.03°) |
| OKLab | oklab(42.72% 0.1231 -0.0031) |
| OKLCH | oklch(42.72% 0.123 358.5) |
| XYZ | xyz(11.2930, 6.9462, 7.9523) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.65
Mulberry
#920A4E
ΔE00 4.68
Reddish Purple
#910951
ΔE00 4.80
Wine (survey)
#80013F
ΔE00 5.34
Berry
#990F4B
ΔE00 5.53
Dark Magenta
#960056
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812B4E #2B815E
analogous
#812B79 #812B4E #81332B
triadic
#812B4E #4E812B #2B4E81
tetradic
#812B4E #79812B #2B815E #332B81
square
#812B4E #79812B #2B815E #332B81
split-complementary
#812B4E #2B8133 #2B7981
monochromatic
#250C16 #531C32 #812B4E #AF3A6A #C95D89
Accessibility & contrast
On white
8.79
#812B4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#812B4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812B4E
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812B4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812B4E | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B404F
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#8B2339
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #812b4e; /* rgb */ color: rgb(129, 43, 78); /* oklch */ color: oklch(42.7% 0.123 358.5);
Tailwind
colors: {
custom: {
50: '#a96a7f',
500: '#812b4e',
950: '#000000',
},
}SCSS
$custom: #812b4e; $custom-light: #a96a7f; $custom-dark: #000000;
JSON
{
"hex": "#812b4e",
"rgb": {
"r": 129,
"g": 43,
"b": 78
},
"hsl": {
"h": 335.581,
"s": 50,
"l": 33.725
},
"oklch": {
"l": 0.42716,
"c": 0.12318,
"h": 358.5
},
"luminance": 0.06945
}Semantic roles & 50–950 ramp
primary
#812B4E
secondary
#59AF8C
accent
#DAA14E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C