#8E1F75#8E1F75
#8E1F75 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.171 H 339.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F75 |
|---|---|
| RGB | rgb(142, 31, 117) |
| HSL | hsl(314, 64%, 34%) |
| HSV | hsv(314, 78%, 56%) |
| CMYK | cmyk(0%, 78.2%, 17.6%, 44.3%) |
| CIE-LAB | lab(34.02, 53.75, -22.69) |
| CIE-LCH | lch(34.02, 58.34, 337.11°) |
| OKLab | oklab(45.39% 0.1598 -0.0615) |
| OKLCH | oklch(45.39% 0.171 339) |
| XYZ | xyz(14.8566, 8.0166, 17.5911) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.06
Warm Purple
#952E8F
ΔE00 5.28
Darkish Purple
#751973
ΔE00 5.79
Darkmagenta
#8B008B
ΔE00 5.96
Purple
#800080
ΔE00 6.18
Barney Purple
#A00498
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F75 #1F8E38
analogous
#701F8E #8E1F75 #8E1F3D
triadic
#8E1F75 #758E1F #1F758E
tetradic
#8E1F75 #8E701F #1F8E38 #1F3D8E
square
#8E1F75 #8E701F #1F8E38 #1F3D8E
split-complementary
#8E1F75 #3D8E1F #1F8E70
monochromatic
#2A0922 #5C144C #8E1F75 #C02A9E #D94FBA
Accessibility & contrast
On white
8.07
#8E1F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#8E1F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F75
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F75 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264577
Deuteranopia (green-blind)
#4B5672
Tritanopia (blue-blind)
#962448
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8e1f75; /* rgb */ color: rgb(142, 31, 117); /* oklch */ color: oklch(45.4% 0.171 339.0);
Tailwind
colors: {
custom: {
50: '#b3689d',
500: '#8e1f75',
950: '#000000',
},
}SCSS
$custom: #8e1f75; $custom-light: #b3689d; $custom-dark: #000000;
JSON
{
"hex": "#8e1f75",
"rgb": {
"r": 142,
"g": 31,
"b": 117
},
"hsl": {
"h": 313.514,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.45392,
"c": 0.1712,
"h": 339
},
"luminance": 0.08015
}Semantic roles & 50–950 ramp
primary
#8E1F75
secondary
#4DBB66
accent
#E76641
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E