#851B71#851B71
#851B71 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.167 H 337.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #851B71 |
|---|---|
| RGB | rgb(133, 27, 113) |
| HSL | hsl(311, 66%, 31%) |
| HSV | hsv(311, 80%, 52%) |
| CMYK | cmyk(0%, 79.7%, 15%, 47.8%) |
| CIE-LAB | lab(31.72, 52.21, -23.86) |
| CIE-LCH | lch(31.72, 57.40, 335.44°) |
| OKLab | oklab(43.36% 0.1541 -0.065) |
| OKLCH | oklch(43.36% 0.167 337.1) |
| XYZ | xyz(13.0457, 6.9639, 16.2767) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.98
Purple
#800080
ΔE00 4.95
Darkmagenta
#8B008B
ΔE00 5.50
Rich Purple
#720058
ΔE00 5.76
Red Violet
#9E0168
ΔE00 6.27
Warm Purple
#952E8F
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#851B71 #1B852F
analogous
#641B85 #851B71 #851B3C
triadic
#851B71 #71851B #1B7185
tetradic
#851B71 #85641B #1B852F #1B3C85
square
#851B71 #85641B #1B852F #1B3C85
split-complementary
#851B71 #3C851B #1B8564
monochromatic
#1F061B #521146 #851B71 #B8259C #D942BC
Accessibility & contrast
On white
8.78
#851B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#851B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #851B71
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##851B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##851B71 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#44506F
Tritanopia (blue-blind)
#8C2245
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #851b71; /* rgb */ color: rgb(133, 27, 113); /* oklch */ color: oklch(43.4% 0.167 337.1);
Tailwind
colors: {
custom: {
50: '#ac659a',
500: '#851b71',
950: '#000000',
},
}SCSS
$custom: #851b71; $custom-light: #ac659a; $custom-dark: #000000;
JSON
{
"hex": "#851b71",
"rgb": {
"r": 133,
"g": 27,
"b": 113
},
"hsl": {
"h": 311.321,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.43364,
"c": 0.16719,
"h": 337.1
},
"luminance": 0.06963
}Semantic roles & 50–950 ramp
primary
#851B71
secondary
#44B85A
accent
#E95F3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E