#812042#812042
#812042 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.134 H 4.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #812042 |
|---|---|
| RGB | rgb(129, 32, 66) |
| HSL | hsl(339, 60%, 32%) |
| HSV | hsv(339, 75%, 51%) |
| CMYK | cmyk(0%, 75.2%, 48.8%, 49.4%) |
| CIE-LAB | lab(29.65, 43.55, 3.57) |
| CIE-LCH | lch(29.65, 43.70, 4.68°) |
| OKLab | oklab(41.09% 0.1332 0.0096) |
| OKLCH | oklch(41.09% 0.134 4.1) |
| XYZ | xyz(10.5540, 6.0949, 5.7739) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.50
Red Purple
#820747
ΔE00 4.23
Mulberry
#920A4E
ΔE00 4.60
Berry
#990F4B
ΔE00 4.68
Purple Red
#990147
ΔE00 4.73
Merlot
#730039
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812042 #20815F
analogous
#812073 #812042 #812F20
triadic
#812042 #428120 #204281
tetradic
#812042 #738120 #20815F #2F2081
square
#812042 #738120 #20815F #2F2081
split-complementary
#812042 #20812F #207381
monochromatic
#1F0810 #501429 #812042 #B22C5B #D24979
Accessibility & contrast
On white
9.47
#812042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#812042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812042
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812042 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363A43
Deuteranopia (green-blind)
#504D40
Tritanopia (blue-blind)
#8D0E2E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #812042; /* rgb */ color: rgb(129, 32, 66); /* oklch */ color: oklch(41.1% 0.134 4.1);
Tailwind
colors: {
custom: {
50: '#aa6476',
500: '#812042',
950: '#000000',
},
}SCSS
$custom: #812042; $custom-light: #aa6476; $custom-dark: #000000;
JSON
{
"hex": "#812042",
"rgb": {
"r": 129,
"g": 32,
"b": 66
},
"hsl": {
"h": 338.969,
"s": 60.248,
"l": 31.569
},
"oklch": {
"l": 0.41089,
"c": 0.13357,
"h": 4.1
},
"luminance": 0.06093
}Semantic roles & 50–950 ramp
primary
#812042
secondary
#49B48E
accent
#E3AC44
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B