#8F2A79#8F2A79
#8F2A79 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.162 H 337.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2A79 |
|---|---|
| RGB | rgb(143, 42, 121) |
| HSL | hsl(313, 55%, 36%) |
| HSV | hsv(313, 71%, 56%) |
| CMYK | cmyk(0%, 70.6%, 15.4%, 43.9%) |
| CIE-LAB | lab(35.75, 50.75, -22.50) |
| CIE-LCH | lch(35.75, 55.51, 336.09°) |
| OKLab | oklab(46.74% 0.1498 -0.061) |
| OKLCH | oklch(46.74% 0.162 337.8) |
| XYZ | xyz(15.6071, 8.8775, 18.9770) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.32
Red Violet
#9E0168
ΔE00 5.75
Light Eggplant
#894585
ΔE00 5.85
Bruise
#7E4071
ΔE00 5.87
Barney Purple
#A00498
ΔE00 6.47
Darkmagenta
#8B008B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2A79 #2A8F40
analogous
#732A8F #8F2A79 #8F2A47
triadic
#8F2A79 #798F2A #2A798F
tetradic
#8F2A79 #8F732A #2A8F40 #2A478F
square
#8F2A79 #8F732A #2A8F40 #2A478F
split-complementary
#8F2A79 #478F2A #2A8F73
monochromatic
#300E29 #601C51 #8F2A79 #BE38A1 #D162B9
Accessibility & contrast
On white
7.57
#8F2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#8F2A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2A79
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2A79 | 1.00 | 7.57 | 2.78 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#4F5A77
Tritanopia (blue-blind)
#972F4E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8f2a79; /* rgb */ color: rgb(143, 42, 121); /* oklch */ color: oklch(46.7% 0.162 337.8);
Tailwind
colors: {
custom: {
50: '#b36da0',
500: '#8f2a79',
950: '#000000',
},
}SCSS
$custom: #8f2a79; $custom-light: #b36da0; $custom-dark: #000000;
JSON
{
"hex": "#8f2a79",
"rgb": {
"r": 143,
"g": 42,
"b": 121
},
"hsl": {
"h": 313.069,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.4674,
"c": 0.16173,
"h": 337.8
},
"luminance": 0.08876
}Semantic roles & 50–950 ramp
primary
#8F2A79
secondary
#5EB771
accent
#DE6A4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E