#8B2F71#8B2F71
#8B2F71 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.146 H 340.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2F71 |
|---|---|
| RGB | rgb(139, 47, 113) |
| HSL | hsl(317, 49%, 36%) |
| HSV | hsv(317, 66%, 55%) |
| CMYK | cmyk(0%, 66.2%, 18.7%, 45.5%) |
| CIE-LAB | lab(35.43, 46.37, -18.02) |
| CIE-LCH | lch(35.43, 49.75, 338.76°) |
| OKLab | oklab(46.26% 0.138 -0.0484) |
| OKLCH | oklch(46.26% 0.146 340.7) |
| XYZ | xyz(14.6450, 8.7156, 16.5306) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.58
Red Violet
#9E0168
ΔE00 5.49
Light Eggplant
#894585
ΔE00 5.97
Warm Purple
#952E8F
ΔE00 6.14
Grape
#6C3461
ΔE00 6.62
Darkish Purple
#751973
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2F71 #2F8B49
analogous
#772F8B #8B2F71 #8B2F43
triadic
#8B2F71 #718B2F #2F718B
tetradic
#8B2F71 #8B772F #2F8B49 #2F438B
square
#8B2F71 #8B772F #2F8B49 #2F438B
split-complementary
#8B2F71 #438B2F #2F8B77
monochromatic
#301027 #5D204C #8B2F71 #B93E96 #CC68B0
Accessibility & contrast
On white
7.66
#8B2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#8B2F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2F71
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2F71 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#93314B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8b2f71; /* rgb */ color: rgb(139, 47, 113); /* oklch */ color: oklch(46.3% 0.146 340.7);
Tailwind
colors: {
custom: {
50: '#b06e9a',
500: '#8b2f71',
950: '#000000',
},
}SCSS
$custom: #8b2f71; $custom-light: #b06e9a; $custom-dark: #000000;
JSON
{
"hex": "#8b2f71",
"rgb": {
"r": 139,
"g": 47,
"b": 113
},
"hsl": {
"h": 316.957,
"s": 49.462,
"l": 36.471
},
"oklch": {
"l": 0.46257,
"c": 0.14623,
"h": 340.7
},
"luminance": 0.08714
}Semantic roles & 50–950 ramp
primary
#8B2F71
secondary
#63B379
accent
#D9764F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E