#B9315B#B9315B
#B9315B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.2% C 0.174 H 7.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B9315B |
|---|---|
| RGB | rgb(185, 49, 91) |
| HSL | hsl(341, 58%, 46%) |
| HSV | hsv(341, 74%, 73%) |
| CMYK | cmyk(0%, 73.5%, 50.8%, 27.5%) |
| CIE-LAB | lab(43.17, 56.53, 8.17) |
| CIE-LCH | lch(43.17, 57.12, 8.23°) |
| OKLab | oklab(53.25% 0.1724 0.0212) |
| OKLCH | oklch(53.25% 0.174 7) |
| XYZ | xyz(22.9962, 13.2694, 11.2458) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.67
Deep Pink
#CB0162
ΔE00 4.22
Dark Rose
#B5485D
ΔE00 4.62
Purplish Red
#B0054B
ΔE00 5.26
Raspberry (survey)
#B00149
ΔE00 5.53
Dark Pink
#CB416B
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9315B #31B98F
analogous
#B9319F #B9315B #B94B31
triadic
#B9315B #5BB931 #315BB9
tetradic
#B9315B #9FB931 #31B98F #4B31B9
square
#B9315B #9FB931 #31B98F #4B31B9
split-complementary
#B9315B #31B94B #319FB9
monochromatic
#58172B #892443 #B9315B #D2557C #DF86A1
Accessibility & contrast
On white
5.75
#B9315B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#B9315B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9315B
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9315B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9315B | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52555C
Deuteranopia (green-blind)
#767058
Tritanopia (blue-blind)
#CA1243
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b9315b; /* rgb */ color: rgb(185, 49, 91); /* oklch */ color: oklch(53.2% 0.174 7.0);
Tailwind
colors: {
custom: {
50: '#d47489',
500: '#b9315b',
950: '#000000',
},
}SCSS
$custom: #b9315b; $custom-light: #d47489; $custom-dark: #000000;
JSON
{
"hex": "#b9315b",
"rgb": {
"r": 185,
"g": 49,
"b": 91
},
"hsl": {
"h": 341.471,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.53247,
"c": 0.17365,
"h": 7
},
"luminance": 0.13266
}Semantic roles & 50–950 ramp
primary
#B9315B
secondary
#7DC8B1
accent
#E1B246
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C