#862252#862252
#862252 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.142 H 355.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #862252 |
|---|---|
| RGB | rgb(134, 34, 82) |
| HSL | hsl(331, 60%, 33%) |
| HSV | hsv(331, 75%, 53%) |
| CMYK | cmyk(0%, 74.6%, 38.8%, 47.5%) |
| CIE-LAB | lab(31.40, 46.01, -4.32) |
| CIE-LCH | lch(31.40, 46.21, 354.64°) |
| OKLab | oklab(42.73% 0.1412 -0.0108) |
| OKLCH | oklch(42.73% 0.142 355.6) |
| XYZ | xyz(11.9273, 6.8230, 8.6699) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.85
Mulberry
#920A4E
ΔE00 3.20
Red Purple
#820747
ΔE00 3.36
Dark Magenta
#960056
ΔE00 3.66
Dark Fuchsia
#9D0759
ΔE00 4.42
Wine (survey)
#80013F
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862252 #228656
analogous
#862284 #862252 #862422
triadic
#862252 #528622 #225286
tetradic
#862252 #848622 #228656 #242286
square
#862252 #848622 #228656 #242286
split-complementary
#862252 #228624 #228486
monochromatic
#240916 #551634 #862252 #B72E70 #D3508F
Accessibility & contrast
On white
8.88
#862252 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#862252 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862252
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862252 | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353E53
Deuteranopia (green-blind)
#515150
Tritanopia (blue-blind)
#911737
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #862252; /* rgb */ color: rgb(134, 34, 82); /* oklch */ color: oklch(42.7% 0.142 355.6);
Tailwind
colors: {
custom: {
50: '#ad6682',
500: '#862252',
950: '#000000',
},
}SCSS
$custom: #862252; $custom-light: #ad6682; $custom-dark: #000000;
JSON
{
"hex": "#862252",
"rgb": {
"r": 134,
"g": 34,
"b": 82
},
"hsl": {
"h": 331.2,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.42725,
"c": 0.14156,
"h": 355.6
},
"luminance": 0.06822
}Semantic roles & 50–950 ramp
primary
#862252
secondary
#4EB684
accent
#E39745
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C