#862142#862142
#862142 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.137 H 5.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #862142 |
|---|---|
| RGB | rgb(134, 33, 66) |
| HSL | hsl(340, 60%, 33%) |
| HSV | hsv(340, 75%, 53%) |
| CMYK | cmyk(0%, 75.4%, 50.7%, 47.5%) |
| CIE-LAB | lab(30.76, 44.73, 5.29) |
| CIE-LCH | lch(30.76, 45.04, 6.74°) |
| OKLab | oklab(42.09% 0.1366 0.0139) |
| OKLCH | oklch(42.09% 0.137 5.8) |
| XYZ | xyz(11.3597, 6.5509, 5.8195) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.08
Purple Red
#990147
ΔE00 4.09
Wine (survey)
#80013F
ΔE00 4.31
Red Wine
#8C0034
ΔE00 4.37
Mulberry
#920A4E
ΔE00 4.73
Red Purple
#820747
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862142 #218665
analogous
#862174 #862142 #863221
triadic
#862142 #428621 #214286
tetradic
#862142 #748621 #218665 #322186
square
#862142 #748621 #218665 #322186
split-complementary
#862142 #218632 #217486
monochromatic
#240912 #55152A #862142 #B72D5A #D34E7A
Accessibility & contrast
On white
9.09
#862142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#862142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862142
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862142 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393C43
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#920B2F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #862142; /* rgb */ color: rgb(134, 33, 66); /* oklch */ color: oklch(42.1% 0.137 5.8);
Tailwind
colors: {
custom: {
50: '#ae6576',
500: '#862142',
950: '#000000',
},
}SCSS
$custom: #862142; $custom-light: #ae6576; $custom-dark: #000000;
JSON
{
"hex": "#862142",
"rgb": {
"r": 134,
"g": 33,
"b": 66
},
"hsl": {
"h": 340.396,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.42089,
"c": 0.13728,
"h": 5.8
},
"luminance": 0.06549
}Semantic roles & 50–950 ramp
primary
#862142
secondary
#4CB794
accent
#E4B044
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B