#8B3151#8B3151
#8B3151 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.2% C 0.126 H 1.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3151 |
|---|---|
| RGB | rgb(139, 49, 81) |
| HSL | hsl(339, 48%, 37%) |
| HSV | hsv(339, 65%, 55%) |
| CMYK | cmyk(0%, 64.7%, 41.7%, 45.5%) |
| CIE-LAB | lab(34.56, 41.20, 1.08) |
| CIE-LCH | lch(34.56, 41.21, 1.51°) |
| OKLab | oklab(45.22% 0.1259 0.0033) |
| OKLCH | oklch(45.22% 0.126 1.5) |
| XYZ | xyz(13.2318, 8.2812, 8.6846) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.78
Mulberry
#920A4E
ΔE00 5.12
Reddish Purple
#910951
ΔE00 5.55
Purple Red
#990147
ΔE00 5.56
Dark Fuchsia
#9D0759
ΔE00 6.06
Violet Red
#A50055
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3151 #318B6B
analogous
#8B317E #8B3151 #8B3E31
triadic
#8B3151 #518B31 #31518B
tetradic
#8B3151 #7E8B31 #318B6B #3E318B
square
#8B3151 #7E8B31 #318B6B #3E318B
split-complementary
#8B3151 #318B3E #317E8B
monochromatic
#31111C #5E2137 #8B3151 #B8416B #CB6B8D
Accessibility & contrast
On white
7.91
#8B3151 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8B3151 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B3151
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3151 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424652
Deuteranopia (green-blind)
#5A584F
Tritanopia (blue-blind)
#96273E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8b3151; /* rgb */ color: rgb(139, 49, 81); /* oklch */ color: oklch(45.2% 0.126 1.5);
Tailwind
colors: {
custom: {
50: '#b16e81',
500: '#8b3151',
950: '#000000',
},
}SCSS
$custom: #8b3151; $custom-light: #b16e81; $custom-dark: #000000;
JSON
{
"hex": "#8b3151",
"rgb": {
"r": 139,
"g": 49,
"b": 81
},
"hsl": {
"h": 338.667,
"s": 47.872,
"l": 36.863
},
"oklch": {
"l": 0.45223,
"c": 0.1259,
"h": 1.5
},
"luminance": 0.0828
}Semantic roles & 50–950 ramp
primary
#8B3151
secondary
#65B297
accent
#D7A750
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11080A
muted
#807B7C