#8F1B72#8F1B72
#8F1B72 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.174 H 340.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1B72 |
|---|---|
| RGB | rgb(143, 27, 114) |
| HSL | hsl(315, 68%, 33%) |
| HSV | hsv(315, 81%, 56%) |
| CMYK | cmyk(0%, 81.1%, 20.3%, 43.9%) |
| CIE-LAB | lab(33.65, 54.74, -21.36) |
| CIE-LCH | lch(33.65, 58.76, 338.69°) |
| OKLab | oklab(45.11% 0.1639 -0.0576) |
| OKLCH | oklch(45.11% 0.174 340.6) |
| XYZ | xyz(14.7574, 7.8399, 16.6524) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.39
Warm Purple
#952E8F
ΔE00 5.98
Darkish Purple
#751973
ΔE00 6.11
Darkmagenta
#8B008B
ΔE00 6.42
Purple
#800080
ΔE00 6.53
Barney Purple
#A00498
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1B72 #1B8F38
analogous
#721B8F #8F1B72 #8F1B38
triadic
#8F1B72 #728F1B #1B728F
tetradic
#8F1B72 #8F721B #1B8F38 #1B388F
square
#8F1B72 #8F721B #1B8F38 #1B388F
split-complementary
#8F1B72 #388F1B #1B8F72
monochromatic
#280820 #5C1149 #8F1B72 #C2259B #DC48B7
Accessibility & contrast
On white
8.18
#8F1B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8F1B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1B72
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1B72 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#4C566F
Tritanopia (blue-blind)
#981F45
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1b72; /* rgb */ color: rgb(143, 27, 114); /* oklch */ color: oklch(45.1% 0.174 340.6);
Tailwind
colors: {
custom: {
50: '#b4669a',
500: '#8f1b72',
950: '#000000',
},
}SCSS
$custom: #8f1b72; $custom-light: #b4669a; $custom-dark: #000000;
JSON
{
"hex": "#8f1b72",
"rgb": {
"r": 143,
"g": 27,
"b": 114
},
"hsl": {
"h": 315,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.45112,
"c": 0.17378,
"h": 340.6
},
"luminance": 0.07838
}Semantic roles & 50–950 ramp
primary
#8F1B72
secondary
#48BE65
accent
#EB683D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E