#842466#842466
#842466 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.149 H 343.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #842466 |
|---|---|
| RGB | rgb(132, 36, 102) |
| HSL | hsl(319, 57%, 33%) |
| HSV | hsv(319, 73%, 52%) |
| CMYK | cmyk(0%, 72.7%, 22.7%, 48.2%) |
| CIE-LAB | lab(32.10, 47.26, -16.27) |
| CIE-LCH | lch(32.10, 49.99, 341.01°) |
| OKLab | oklab(43.43% 0.1421 -0.0435) |
| OKLCH | oklch(43.43% 0.149 343) |
| XYZ | xyz(12.5453, 7.1279, 13.2829) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.13
Velvet
#750851
ΔE00 5.36
Rich Purple
#720058
ΔE00 5.86
Grape
#6C3461
ΔE00 5.95
Bruise
#7E4071
ΔE00 6.16
Dark Magenta
#960056
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842466 #248442
analogous
#722484 #842466 #842436
triadic
#842466 #668424 #246684
tetradic
#842466 #847224 #248442 #243684
square
#842466 #847224 #248442 #243684
split-complementary
#842466 #368424 #248472
monochromatic
#240A1C #541741 #842466 #B4318B #D052A9
Accessibility & contrast
On white
8.66
#842466 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#842466 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842466
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842466 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842466 | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4168
Deuteranopia (green-blind)
#4B5164
Tritanopia (blue-blind)
#8D2442
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #842466; /* rgb */ color: rgb(132, 36, 102); /* oklch */ color: oklch(43.4% 0.149 343.0);
Tailwind
colors: {
custom: {
50: '#ab6891',
500: '#842466',
950: '#000000',
},
}SCSS
$custom: #842466; $custom-light: #ab6891; $custom-dark: #000000;
JSON
{
"hex": "#842466",
"rgb": {
"r": 132,
"g": 36,
"b": 102
},
"hsl": {
"h": 318.75,
"s": 57.143,
"l": 32.941
},
"oklch": {
"l": 0.43426,
"c": 0.14861,
"h": 343
},
"luminance": 0.07127
}Semantic roles & 50–950 ramp
primary
#842466
secondary
#50B46F
accent
#E07747
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10070D
muted
#7F7A7D