#842267#842267
#842267 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.152 H 342.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #842267 |
|---|---|
| RGB | rgb(132, 34, 103) |
| HSL | hsl(318, 59%, 33%) |
| HSV | hsv(318, 74%, 52%) |
| CMYK | cmyk(0%, 74.2%, 22%, 48.2%) |
| CIE-LAB | lab(31.88, 48.16, -17.25) |
| CIE-LCH | lch(31.88, 51.15, 340.29°) |
| OKLab | oklab(43.28% 0.1446 -0.0463) |
| OKLCH | oklch(43.28% 0.152 342.3) |
| XYZ | xyz(12.5363, 7.0301, 13.5261) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.17
Velvet
#750851
ΔE00 5.31
Rich Purple
#720058
ΔE00 5.60
Grape
#6C3461
ΔE00 6.11
Darkish Purple
#751973
ΔE00 6.12
Bruise
#7E4071
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842267 #22843F
analogous
#702284 #842267 #842236
triadic
#842267 #678422 #226784
tetradic
#842267 #847022 #22843F #223684
square
#842267 #847022 #22843F #223684
split-complementary
#842267 #368422 #228470
monochromatic
#23091B #531541 #842267 #B52F8D #D24FAB
Accessibility & contrast
On white
8.73
#842267 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#842267 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842267
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842267 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842267 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4169
Deuteranopia (green-blind)
#4A5165
Tritanopia (blue-blind)
#8C2341
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #842267; /* rgb */ color: rgb(132, 34, 103); /* oklch */ color: oklch(43.3% 0.152 342.3);
Tailwind
colors: {
custom: {
50: '#ab6792',
500: '#842267',
950: '#000000',
},
}SCSS
$custom: #842267; $custom-light: #ab6792; $custom-dark: #000000;
JSON
{
"hex": "#842267",
"rgb": {
"r": 132,
"g": 34,
"b": 103
},
"hsl": {
"h": 317.755,
"s": 59.036,
"l": 32.549
},
"oklch": {
"l": 0.4328,
"c": 0.15179,
"h": 342.3
},
"luminance": 0.07029
}Semantic roles & 50–950 ramp
primary
#842267
secondary
#4DB56C
accent
#E27446
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#10060D
muted
#7F7A7E