#842565#842565
#842565 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.147 H 343.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #842565 |
|---|---|
| RGB | rgb(132, 37, 101) |
| HSL | hsl(320, 56%, 33%) |
| HSV | hsv(320, 72%, 52%) |
| CMYK | cmyk(0%, 72%, 23.5%, 48.2%) |
| CIE-LAB | lab(32.19, 46.74, -15.48) |
| CIE-LCH | lch(32.19, 49.23, 341.67°) |
| OKLab | oklab(43.48% 0.1407 -0.0413) |
| OKLCH | oklch(43.48% 0.147 343.6) |
| XYZ | xyz(12.5267, 7.1695, 13.0335) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.10
Velvet
#750851
ΔE00 5.36
Grape
#6C3461
ΔE00 5.89
Rich Purple
#720058
ΔE00 6.02
Bruise
#7E4071
ΔE00 6.08
Dark Magenta
#960056
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842565 #258444
analogous
#732584 #842565 #842535
triadic
#842565 #658425 #256584
tetradic
#842565 #847325 #258444 #253584
square
#842565 #847325 #258444 #253584
split-complementary
#842565 #358425 #258473
monochromatic
#240A1C #541840 #842565 #B4328A #CF54A7
Accessibility & contrast
On white
8.63
#842565 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#842565 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842565
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842565 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842565 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4267
Deuteranopia (green-blind)
#4B5163
Tritanopia (blue-blind)
#8D2541
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #842565; /* rgb */ color: rgb(132, 37, 101); /* oklch */ color: oklch(43.5% 0.147 343.6);
Tailwind
colors: {
custom: {
50: '#ab6891',
500: '#842565',
950: '#000000',
},
}SCSS
$custom: #842565; $custom-light: #ab6891; $custom-dark: #000000;
JSON
{
"hex": "#842565",
"rgb": {
"r": 132,
"g": 37,
"b": 101
},
"hsl": {
"h": 319.579,
"s": 56.213,
"l": 33.137
},
"oklch": {
"l": 0.4348,
"c": 0.14665,
"h": 343.6
},
"luminance": 0.07168
}Semantic roles & 50–950 ramp
primary
#842565
secondary
#51B371
accent
#E07A48
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10070C
muted
#7F7A7D