#812142#812142
#812142 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.132 H 4.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #812142 |
|---|---|
| RGB | rgb(129, 33, 66) |
| HSL | hsl(339, 59%, 32%) |
| HSV | hsv(339, 74%, 51%) |
| CMYK | cmyk(0%, 74.4%, 48.8%, 49.4%) |
| CIE-LAB | lab(29.79, 43.17, 3.76) |
| CIE-LCH | lch(29.79, 43.34, 4.98°) |
| OKLab | oklab(41.19% 0.132 0.0101) |
| OKLCH | oklch(41.19% 0.132 4.4) |
| XYZ | xyz(10.5813, 6.1496, 5.7830) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.69
Red Purple
#820747
ΔE00 4.43
Berry
#990F4B
ΔE00 4.73
Mulberry
#920A4E
ΔE00 4.74
Purple Red
#990147
ΔE00 4.80
Red Wine
#8C0034
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812142 #218160
analogous
#812172 #812142 #813021
triadic
#812142 #428121 #214281
tetradic
#812142 #728121 #218160 #302181
square
#812142 #728121 #218160 #302181
split-complementary
#812142 #218130 #217281
monochromatic
#200810 #501529 #812142 #B22D5B #D14B79
Accessibility & contrast
On white
9.42
#812142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#812142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812142
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812142 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#514D40
Tritanopia (blue-blind)
#8D102F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #812142; /* rgb */ color: rgb(129, 33, 66); /* oklch */ color: oklch(41.2% 0.132 4.4);
Tailwind
colors: {
custom: {
50: '#aa6576',
500: '#812142',
950: '#000000',
},
}SCSS
$custom: #812142; $custom-light: #aa6576; $custom-dark: #000000;
JSON
{
"hex": "#812142",
"rgb": {
"r": 129,
"g": 33,
"b": 66
},
"hsl": {
"h": 339.375,
"s": 59.259,
"l": 31.765
},
"oklch": {
"l": 0.4119,
"c": 0.13239,
"h": 4.4
},
"luminance": 0.06148
}Semantic roles & 50–950 ramp
primary
#812142
secondary
#4AB48F
accent
#E2AC45
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B