#842E6B#842E6B
#842E6B is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.8% C 0.138 H 340.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #842E6B |
|---|---|
| RGB | rgb(132, 46, 107) |
| HSL | hsl(317, 48%, 35%) |
| HSV | hsv(317, 65%, 52%) |
| CMYK | cmyk(0%, 65.2%, 18.9%, 48.2%) |
| CIE-LAB | lab(33.82, 43.84, -16.81) |
| CIE-LCH | lch(33.82, 46.95, 339.03°) |
| OKLab | oklab(44.76% 0.1305 -0.0451) |
| OKLCH | oklch(44.76% 0.138 340.9) |
| XYZ | xyz(13.1469, 7.9222, 14.7438) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.37
Grape
#6C3461
ΔE00 5.27
Red Violet
#9E0168
ΔE00 6.00
Light Eggplant
#894585
ΔE00 6.79
Darkish Purple
#751973
ΔE00 6.93
Velvet
#750851
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E6B #2E8447
analogous
#722E84 #842E6B #842E40
triadic
#842E6B #6B842E #2E6B84
tetradic
#842E6B #84722E #2E8447 #2E4084
square
#842E6B #84722E #2E8447 #2E4084
split-complementary
#842E6B #40842E #2E8472
monochromatic
#290E21 #571E46 #842E6B #B13E90 #C964AB
Accessibility & contrast
On white
8.13
#842E6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#842E6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E6B
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E6B | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#4D5569
Tritanopia (blue-blind)
#8C3048
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #842e6b; /* rgb */ color: rgb(132, 46, 107); /* oklch */ color: oklch(44.8% 0.138 340.9);
Tailwind
colors: {
custom: {
50: '#ab6d95',
500: '#842e6b',
950: '#000000',
},
}SCSS
$custom: #842e6b; $custom-light: #ab6d95; $custom-dark: #000000;
JSON
{
"hex": "#842e6b",
"rgb": {
"r": 132,
"g": 46,
"b": 107
},
"hsl": {
"h": 317.442,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.44759,
"c": 0.13804,
"h": 340.9
},
"luminance": 0.07921
}Semantic roles & 50–950 ramp
primary
#842E6B
secondary
#5EB076
accent
#D87750
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E