#8B2974#8B2974
#8B2974 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.157 H 338.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2974 |
|---|---|
| RGB | rgb(139, 41, 116) |
| HSL | hsl(314, 54%, 35%) |
| HSV | hsv(314, 71%, 55%) |
| CMYK | cmyk(0%, 70.5%, 16.5%, 45.5%) |
| CIE-LAB | lab(34.68, 49.31, -21.08) |
| CIE-LCH | lch(34.68, 53.62, 336.85°) |
| OKLab | oklab(45.75% 0.146 -0.057) |
| OKLCH | oklch(45.75% 0.157 338.7) |
| XYZ | xyz(14.5931, 8.3371, 17.3603) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.30
Red Violet
#9E0168
ΔE00 5.54
Bruise
#7E4071
ΔE00 5.58
Darkish Purple
#751973
ΔE00 6.18
Light Eggplant
#894585
ΔE00 6.34
Darkmagenta
#8B008B
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2974 #298B40
analogous
#71298B #8B2974 #8B2943
triadic
#8B2974 #748B29 #29748B
tetradic
#8B2974 #8B7129 #298B40 #29438B
square
#8B2974 #8B7129 #298B40 #29438B
split-complementary
#8B2974 #438B29 #298B71
monochromatic
#2C0D25 #5C1B4D #8B2974 #BA379B #D05FB5
Accessibility & contrast
On white
7.87
#8B2974 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#8B2974 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2974
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2974 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2974 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4876
Deuteranopia (green-blind)
#4D5772
Tritanopia (blue-blind)
#932D4B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8b2974; /* rgb */ color: rgb(139, 41, 116); /* oklch */ color: oklch(45.8% 0.157 338.7);
Tailwind
colors: {
custom: {
50: '#b06b9c',
500: '#8b2974',
950: '#000000',
},
}SCSS
$custom: #8b2974; $custom-light: #b06b9c; $custom-dark: #000000;
JSON
{
"hex": "#8b2974",
"rgb": {
"r": 139,
"g": 41,
"b": 116
},
"hsl": {
"h": 314.082,
"s": 54.444,
"l": 35.294
},
"oklch": {
"l": 0.45751,
"c": 0.15672,
"h": 338.7
},
"luminance": 0.08336
}Semantic roles & 50–950 ramp
primary
#8B2974
secondary
#5BB570
accent
#DE6D4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E