#862042#862042
#862042 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.138 H 5.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #862042 |
|---|---|
| RGB | rgb(134, 32, 66) |
| HSL | hsl(340, 61%, 33%) |
| HSV | hsv(340, 76%, 53%) |
| CMYK | cmyk(0%, 76.1%, 50.7%, 47.5%) |
| CIE-LAB | lab(30.63, 45.10, 5.10) |
| CIE-LCH | lch(30.63, 45.38, 6.45°) |
| OKLab | oklab(41.99% 0.1378 0.0134) |
| OKLCH | oklch(41.99% 0.138 5.6) |
| XYZ | xyz(11.3324, 6.4962, 5.8104) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.99
Berry
#990F4B
ΔE00 4.00
Wine (survey)
#80013F
ΔE00 4.12
Red Wine
#8C0034
ΔE00 4.36
Mulberry
#920A4E
ΔE00 4.57
Red Purple
#820747
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862042 #208664
analogous
#862075 #862042 #863120
triadic
#862042 #428620 #204286
tetradic
#862042 #758620 #208664 #312086
square
#862042 #758620 #208664 #312086
split-complementary
#862042 #208631 #207586
monochromatic
#230811 #55142A #862042 #B72C5A #D44C7A
Accessibility & contrast
On white
9.13
#862042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#862042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862042
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862042 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393B43
Deuteranopia (green-blind)
#544F40
Tritanopia (blue-blind)
#92092E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #862042; /* rgb */ color: rgb(134, 32, 66); /* oklch */ color: oklch(42.0% 0.138 5.6);
Tailwind
colors: {
custom: {
50: '#ae6576',
500: '#862042',
950: '#000000',
},
}SCSS
$custom: #862042; $custom-light: #ae6576; $custom-dark: #000000;
JSON
{
"hex": "#862042",
"rgb": {
"r": 134,
"g": 32,
"b": 66
},
"hsl": {
"h": 340,
"s": 61.446,
"l": 32.549
},
"oklch": {
"l": 0.41993,
"c": 0.13841,
"h": 5.6
},
"luminance": 0.06495
}Semantic roles & 50–950 ramp
primary
#862042
secondary
#4BB793
accent
#E5AF43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B