#8F2F7D#8F2F7D
#8F2F7D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.158 H 336.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2F7D |
|---|---|
| RGB | rgb(143, 47, 125) |
| HSL | hsl(311, 51%, 37%) |
| HSV | hsv(311, 67%, 56%) |
| CMYK | cmyk(0%, 67.1%, 12.6%, 43.9%) |
| CIE-LAB | lab(36.66, 49.37, -23.57) |
| CIE-LCH | lch(36.66, 54.71, 334.47°) |
| OKLab | oklab(47.47% 0.1444 -0.0641) |
| OKLCH | oklch(47.47% 0.158 336.1) |
| XYZ | xyz(16.0461, 9.3547, 20.3586) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.57
Light Eggplant
#894585
ΔE00 4.87
Bruise
#7E4071
ΔE00 5.55
Barney Purple
#A00498
ΔE00 6.23
Darkmagenta
#8B008B
ΔE00 6.65
Red Violet
#9E0168
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2F7D #2F8F41
analogous
#712F8F #8F2F7D #8F2F4D
triadic
#8F2F7D #7D8F2F #2F7D8F
tetradic
#8F2F7D #8F712F #2F8F41 #2F4D8F
square
#8F2F7D #8F712F #2F8F41 #2F4D8F
split-complementary
#8F2F7D #4D8F2F #2F8F71
monochromatic
#33112C #612055 #8F2F7D #BD3EA5 #CE6ABB
Accessibility & contrast
On white
7.32
#8F2F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#8F2F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2F7D
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2F7D | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#4F5B7B
Tritanopia (blue-blind)
#963551
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8f2f7d; /* rgb */ color: rgb(143, 47, 125); /* oklch */ color: oklch(47.5% 0.158 336.1);
Tailwind
colors: {
custom: {
50: '#b36fa3',
500: '#8f2f7d',
950: '#000000',
},
}SCSS
$custom: #8f2f7d; $custom-light: #b36fa3; $custom-dark: #000000;
JSON
{
"hex": "#8f2f7d",
"rgb": {
"r": 143,
"g": 47,
"b": 125
},
"hsl": {
"h": 311.25,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.47465,
"c": 0.15796,
"h": 336.1
},
"luminance": 0.09353
}Semantic roles & 50–950 ramp
primary
#8F2F7D
secondary
#65B574
accent
#DA684E
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F