#8B315B#8B315B
#8B315B is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.130 H 354.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8B315B |
|---|---|
| RGB | rgb(139, 49, 91) |
| HSL | hsl(332, 48%, 37%) |
| HSV | hsv(332, 65%, 55%) |
| CMYK | cmyk(0%, 64.7%, 34.5%, 45.5%) |
| CIE-LAB | lab(34.89, 42.40, -4.86) |
| CIE-LCH | lch(34.89, 42.68, 353.46°) |
| OKLab | oklab(45.57% 0.1294 -0.0123) |
| OKLCH | oklch(45.57% 0.13 354.6) |
| XYZ | xyz(13.6348, 8.4424, 10.8070) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 4.99
Dark Fuchsia
#9D0759
ΔE00 5.15
Mulberry
#920A4E
ΔE00 5.20
Dark Magenta
#960056
ΔE00 5.29
Deep Magenta
#A0025C
ΔE00 5.50
Berry
#990F4B
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B315B #318B61
analogous
#8B3188 #8B315B #8B3431
triadic
#8B315B #5B8B31 #315B8B
tetradic
#8B315B #888B31 #318B61 #34318B
square
#8B315B #888B31 #318B61 #34318B
split-complementary
#8B315B #318B34 #31888B
monochromatic
#311120 #5E213D #8B315B #B84179 #CB6B98
Accessibility & contrast
On white
7.81
#8B315B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#8B315B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B315B
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B315B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B315B | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F485C
Deuteranopia (green-blind)
#585859
Tritanopia (blue-blind)
#962B42
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8b315b; /* rgb */ color: rgb(139, 49, 91); /* oklch */ color: oklch(45.6% 0.130 354.6);
Tailwind
colors: {
custom: {
50: '#b06f89',
500: '#8b315b',
950: '#000000',
},
}SCSS
$custom: #8b315b; $custom-light: #b06f89; $custom-dark: #000000;
JSON
{
"hex": "#8b315b",
"rgb": {
"r": 139,
"g": 49,
"b": 91
},
"hsl": {
"h": 332,
"s": 47.872,
"l": 36.863
},
"oklch": {
"l": 0.45572,
"c": 0.12994,
"h": 354.6
},
"luminance": 0.08441
}Semantic roles & 50–950 ramp
primary
#8B315B
secondary
#65B28E
accent
#D79850
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080B
muted
#807B7C