#854171#854171
#854171 is a mid, moderate pink. Relative luminance 0.100; OKLCH L 47.8% C 0.112 H 339.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #854171 |
|---|---|
| RGB | rgb(133, 65, 113) |
| HSL | hsl(318, 34%, 39%) |
| HSV | hsv(318, 51%, 52%) |
| CMYK | cmyk(0%, 51.1%, 15%, 47.8%) |
| CIE-LAB | lab(37.77, 35.66, -14.51) |
| CIE-LCH | lch(37.77, 38.50, 337.86°) |
| OKLab | oklab(47.8% 0.1048 -0.0389) |
| OKLCH | oklch(47.8% 0.112 339.7) |
| XYZ | xyz(14.5440, 9.9604, 16.7761) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 1.78
Light Eggplant
#894585
ΔE00 4.68
Grape
#6C3461
ΔE00 6.13
Dirty Purple
#734A65
ΔE00 6.40
Dull Purple
#84597E
ΔE00 7.26
Purplish
#94568C
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#854171 #418555
analogous
#774185 #854171 #85414F
triadic
#854171 #718541 #417185
tetradic
#854171 #857741 #418555 #414F85
square
#854171 #857741 #418555 #414F85
split-complementary
#854171 #4F8541 #418577
monochromatic
#33192B #5C2D4E #854171 #AD5793 #C180AE
Accessibility & contrast
On white
7.02
#854171 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#854171 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #854171
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##854171 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##854171 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445273
Deuteranopia (green-blind)
#565D6F
Tritanopia (blue-blind)
#8C4254
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #854171; /* rgb */ color: rgb(133, 65, 113); /* oklch */ color: oklch(47.8% 0.112 339.7);
Tailwind
colors: {
custom: {
50: '#aa789a',
500: '#854171',
950: '#000000',
},
}SCSS
$custom: #854171; $custom-light: #aa789a; $custom-dark: #000000;
JSON
{
"hex": "#854171",
"rgb": {
"r": 133,
"g": 65,
"b": 113
},
"hsl": {
"h": 317.647,
"s": 34.343,
"l": 38.824
},
"oklch": {
"l": 0.47797,
"c": 0.11179,
"h": 339.7
},
"luminance": 0.09959
}Semantic roles & 50–950 ramp
primary
#854171
secondary
#76AB86
accent
#CA7D5D
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090E
muted
#7F7B7E