#B8315B#B8315B
#B8315B is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.173 H 6.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B8315B |
|---|---|
| RGB | rgb(184, 49, 91) |
| HSL | hsl(341, 58%, 46%) |
| HSV | hsv(341, 73%, 72%) |
| CMYK | cmyk(0%, 73.4%, 50.5%, 27.8%) |
| CIE-LAB | lab(42.98, 56.24, 7.89) |
| CIE-LCH | lch(42.98, 56.79, 7.98°) |
| OKLab | oklab(53.08% 0.1715 0.0205) |
| OKLCH | oklch(53.08% 0.173 6.8) |
| XYZ | xyz(22.7558, 13.1454, 11.2345) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.57
Deep Pink
#CB0162
ΔE00 4.25
Dark Rose
#B5485D
ΔE00 4.72
Purplish Red
#B0054B
ΔE00 5.15
Raspberry (survey)
#B00149
ΔE00 5.42
Dark Pink
#CB416B
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8315B #31B88E
analogous
#B8319E #B8315B #B84A31
triadic
#B8315B #5BB831 #315BB8
tetradic
#B8315B #9EB831 #31B88E #4A31B8
square
#B8315B #9EB831 #31B88E #4A31B8
split-complementary
#B8315B #31B84A #319EB8
monochromatic
#57172B #882443 #B8315B #D2557B #DE85A1
Accessibility & contrast
On white
5.79
#B8315B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#B8315B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8315B
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8315B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8315B | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52545C
Deuteranopia (green-blind)
#756F58
Tritanopia (blue-blind)
#C81342
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b8315b; /* rgb */ color: rgb(184, 49, 91); /* oklch */ color: oklch(53.1% 0.173 6.8);
Tailwind
colors: {
custom: {
50: '#d37489',
500: '#b8315b',
950: '#000000',
},
}SCSS
$custom: #b8315b; $custom-light: #d37489; $custom-dark: #000000;
JSON
{
"hex": "#b8315b",
"rgb": {
"r": 184,
"g": 49,
"b": 91
},
"hsl": {
"h": 341.333,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.53077,
"c": 0.17272,
"h": 6.8
},
"luminance": 0.13142
}Semantic roles & 50–950 ramp
primary
#B8315B
secondary
#7DC8B1
accent
#E1B147
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C