#842563#842563
#842563 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.145 H 344.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #842563 |
|---|---|
| RGB | rgb(132, 37, 99) |
| HSL | hsl(321, 56%, 33%) |
| HSV | hsv(321, 72%, 52%) |
| CMYK | cmyk(0%, 72%, 25%, 48.2%) |
| CIE-LAB | lab(32.10, 46.45, -14.33) |
| CIE-LCH | lch(32.10, 48.61, 342.86°) |
| OKLab | oklab(43.39% 0.1403 -0.0381) |
| OKLCH | oklch(43.39% 0.145 344.8) |
| XYZ | xyz(12.4299, 7.1308, 12.5237) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.03
Velvet
#750851
ΔE00 5.20
Dark Magenta
#960056
ΔE00 5.82
Grape
#6C3461
ΔE00 5.96
Rich Purple
#720058
ΔE00 6.11
Reddish Purple
#910951
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842563 #258446
analogous
#752584 #842563 #842533
triadic
#842563 #638425 #256384
tetradic
#842563 #847525 #258446 #253384
square
#842563 #847525 #258446 #253384
split-complementary
#842563 #338425 #258475
monochromatic
#240A1B #54183F #842563 #B43287 #CF54A4
Accessibility & contrast
On white
8.66
#842563 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#842563 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842563
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842563 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842563 | 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)
#304165
Deuteranopia (green-blind)
#4C5161
Tritanopia (blue-blind)
#8D2440
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #842563; /* rgb */ color: rgb(132, 37, 99); /* oklch */ color: oklch(43.4% 0.145 344.8);
Tailwind
colors: {
custom: {
50: '#ab688f',
500: '#842563',
950: '#000000',
},
}SCSS
$custom: #842563; $custom-light: #ab688f; $custom-dark: #000000;
JSON
{
"hex": "#842563",
"rgb": {
"r": 132,
"g": 37,
"b": 99
},
"hsl": {
"h": 320.842,
"s": 56.213,
"l": 33.137
},
"oklch": {
"l": 0.43388,
"c": 0.14536,
"h": 344.8
},
"luminance": 0.0713
}Semantic roles & 50–950 ramp
primary
#842563
secondary
#51B373
accent
#E07D48
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10070C
muted
#7F7A7D