#812240#812240
#812240 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.2% C 0.131 H 6.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #812240 |
|---|---|
| RGB | rgb(129, 34, 64) |
| HSL | hsl(341, 58%, 32%) |
| HSV | hsv(341, 74%, 51%) |
| CMYK | cmyk(0%, 73.6%, 50.4%, 49.4%) |
| CIE-LAB | lab(29.87, 42.59, 5.21) |
| CIE-LCH | lch(29.87, 42.91, 6.97°) |
| OKLab | oklab(41.23% 0.13 0.0137) |
| OKLCH | oklch(41.23% 0.131 6) |
| XYZ | xyz(10.5516, 6.1827, 5.4873) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 4.25
Red Wine
#8C0034
ΔE00 4.63
Purple Red
#990147
ΔE00 5.00
Berry
#990F4B
ΔE00 5.02
Red Purple
#820747
ΔE00 5.20
Bordeaux
#7B002C
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812240 #228163
analogous
#812270 #812240 #813422
triadic
#812240 #408122 #224081
tetradic
#812240 #708122 #228163 #342281
square
#812240 #708122 #228163 #342281
split-complementary
#812240 #228134 #227081
monochromatic
#200810 #511528 #812240 #B12F58 #D04D77
Accessibility & contrast
On white
9.39
#812240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#812240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812240
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812240 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383A41
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#8D102E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #812240; /* rgb */ color: rgb(129, 34, 64); /* oklch */ color: oklch(41.2% 0.131 6.0);
Tailwind
colors: {
custom: {
50: '#aa6574',
500: '#812240',
950: '#000000',
},
}SCSS
$custom: #812240; $custom-light: #aa6574; $custom-dark: #000000;
JSON
{
"hex": "#812240",
"rgb": {
"r": 129,
"g": 34,
"b": 64
},
"hsl": {
"h": 341.053,
"s": 58.282,
"l": 31.961
},
"oklch": {
"l": 0.41232,
"c": 0.13071,
"h": 6
},
"luminance": 0.06181
}Semantic roles & 50–950 ramp
primary
#812240
secondary
#4BB393
accent
#E1B046
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B