#8F2974#8F2974
#8F2974 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.159 H 340.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2974 |
|---|---|
| RGB | rgb(143, 41, 116) |
| HSL | hsl(316, 55%, 36%) |
| HSV | hsv(316, 71%, 56%) |
| CMYK | cmyk(0%, 71.3%, 18.9%, 43.9%) |
| CIE-LAB | lab(35.38, 50.38, -19.94) |
| CIE-LCH | lch(35.38, 54.18, 338.41°) |
| OKLab | oklab(46.39% 0.1501 -0.0537) |
| OKLCH | oklch(46.39% 0.159 340.3) |
| XYZ | xyz(15.2734, 8.6879, 17.3922) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.90
Warm Purple
#952E8F
ΔE00 5.41
Bruise
#7E4071
ΔE00 5.76
Light Eggplant
#894585
ΔE00 6.42
Darkish Purple
#751973
ΔE00 7.03
Darkmagenta
#8B008B
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2974 #298F44
analogous
#77298F #8F2974 #8F2941
triadic
#8F2974 #748F29 #29748F
tetradic
#8F2974 #8F7729 #298F44 #29418F
square
#8F2974 #8F7729 #298F44 #29418F
split-complementary
#8F2974 #418F29 #298F77
monochromatic
#300E27 #5F1B4D #8F2974 #BF379B #D261B4
Accessibility & contrast
On white
7.67
#8F2974 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#8F2974 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2974
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2974 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2974 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#505972
Tritanopia (blue-blind)
#982C4B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8f2974; /* rgb */ color: rgb(143, 41, 116); /* oklch */ color: oklch(46.4% 0.159 340.3);
Tailwind
colors: {
custom: {
50: '#b36c9c',
500: '#8f2974',
950: '#000000',
},
}SCSS
$custom: #8f2974; $custom-light: #b36c9c; $custom-dark: #000000;
JSON
{
"hex": "#8f2974",
"rgb": {
"r": 143,
"g": 41,
"b": 116
},
"hsl": {
"h": 315.882,
"s": 55.435,
"l": 36.078
},
"oklch": {
"l": 0.46394,
"c": 0.15946,
"h": 340.3
},
"luminance": 0.08686
}Semantic roles & 50–950 ramp
primary
#8F2974
secondary
#5CB775
accent
#DF7149
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E