#862040#862040
#862040 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.138 H 6.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #862040 |
|---|---|
| RGB | rgb(134, 32, 64) |
| HSL | hsl(341, 61%, 33%) |
| HSV | hsv(341, 76%, 53%) |
| CMYK | cmyk(0%, 76.1%, 52.2%, 47.5%) |
| CIE-LAB | lab(30.58, 44.91, 6.35) |
| CIE-LCH | lch(30.58, 45.36, 8.05°) |
| OKLab | oklab(41.93% 0.137 0.0165) |
| OKLCH | oklch(41.93% 0.138 6.9) |
| XYZ | xyz(11.2744, 6.4731, 5.5052) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.87
Purple Red
#990147
ΔE00 4.22
Berry
#990F4B
ΔE00 4.33
Wine (survey)
#80013F
ΔE00 4.52
Bordeaux
#7B002C
ΔE00 5.15
Mulberry
#920A4E
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862040 #208666
analogous
#862073 #862040 #863320
triadic
#862040 #408620 #204086
tetradic
#862040 #738620 #208666 #332086
square
#862040 #738620 #208666 #332086
split-complementary
#862040 #208633 #207386
monochromatic
#230811 #551428 #862040 #B72C58 #D44C77
Accessibility & contrast
On white
9.15
#862040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#862040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862040
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862040 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#544F3E
Tritanopia (blue-blind)
#92082D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #862040; /* rgb */ color: rgb(134, 32, 64); /* oklch */ color: oklch(41.9% 0.138 6.9);
Tailwind
colors: {
custom: {
50: '#af6574',
500: '#862040',
950: '#000000',
},
}SCSS
$custom: #862040; $custom-light: #af6574; $custom-dark: #000000;
JSON
{
"hex": "#862040",
"rgb": {
"r": 134,
"g": 32,
"b": 64
},
"hsl": {
"h": 341.176,
"s": 61.446,
"l": 32.549
},
"oklch": {
"l": 0.41934,
"c": 0.13796,
"h": 6.9
},
"luminance": 0.06472
}Semantic roles & 50–950 ramp
primary
#862040
secondary
#4BB795
accent
#E5B243
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B