#842E68#842E68
#842E68 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.6% C 0.136 H 342.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #842E68 |
|---|---|
| RGB | rgb(132, 46, 104) |
| HSL | hsl(320, 48%, 35%) |
| HSV | hsv(320, 65%, 52%) |
| CMYK | cmyk(0%, 65.2%, 21.2%, 48.2%) |
| CIE-LAB | lab(33.69, 43.38, -15.10) |
| CIE-LCH | lch(33.69, 45.93, 340.81°) |
| OKLab | oklab(44.62% 0.1298 -0.0403) |
| OKLCH | oklch(44.62% 0.136 342.7) |
| XYZ | xyz(12.9918, 7.8602, 13.9270) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.55
Grape
#6C3461
ΔE00 5.28
Red Violet
#9E0168
ΔE00 5.82
Velvet
#750851
ΔE00 6.74
Dark Magenta
#960056
ΔE00 7.03
Light Eggplant
#894585
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E68 #2E844A
analogous
#752E84 #842E68 #842E3D
triadic
#842E68 #68842E #2E6884
tetradic
#842E68 #84752E #2E844A #2E3D84
square
#842E68 #84752E #2E844A #2E3D84
split-complementary
#842E68 #3D842E #2E8475
monochromatic
#290E20 #571E44 #842E68 #B13E8C #C964A8
Accessibility & contrast
On white
8.17
#842E68 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#842E68 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E68
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E68 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E68 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35466A
Deuteranopia (green-blind)
#4E5466
Tritanopia (blue-blind)
#8C2E46
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #842e68; /* rgb */ color: rgb(132, 46, 104); /* oklch */ color: oklch(44.6% 0.136 342.7);
Tailwind
colors: {
custom: {
50: '#ab6d93',
500: '#842e68',
950: '#000000',
},
}SCSS
$custom: #842e68; $custom-light: #ab6d93; $custom-dark: #000000;
JSON
{
"hex": "#842e68",
"rgb": {
"r": 132,
"g": 46,
"b": 104
},
"hsl": {
"h": 319.535,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.44621,
"c": 0.13592,
"h": 342.7
},
"luminance": 0.07859
}Semantic roles & 50–950 ramp
primary
#842E68
secondary
#5EB079
accent
#D87C50
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E