#B9315A#B9315A
#B9315A is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.173 H 7.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B9315A |
|---|---|
| RGB | rgb(185, 49, 90) |
| HSL | hsl(342, 58%, 46%) |
| HSV | hsv(342, 74%, 73%) |
| CMYK | cmyk(0%, 73.5%, 51.4%, 27.5%) |
| CIE-LAB | lab(43.14, 56.45, 8.76) |
| CIE-LCH | lch(43.14, 57.13, 8.82°) |
| OKLab | oklab(53.22% 0.172 0.0227) |
| OKLCH | oklch(53.22% 0.173 7.5) |
| XYZ | xyz(22.9534, 13.2522, 11.0201) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.66
Deep Pink
#CB0162
ΔE00 4.39
Dark Rose
#B5485D
ΔE00 4.50
Purplish Red
#B0054B
ΔE00 5.21
Raspberry (survey)
#B00149
ΔE00 5.46
Dark Pink
#CB416B
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9315A #31B990
analogous
#B9319E #B9315A #B94C31
triadic
#B9315A #5AB931 #315AB9
tetradic
#B9315A #9EB931 #31B990 #4C31B9
square
#B9315A #9EB931 #31B990 #4C31B9
split-complementary
#B9315A #31B94C #319EB9
monochromatic
#58172B #892442 #B9315A #D2557B #DF86A0
Accessibility & contrast
On white
5.75
#B9315A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#B9315A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9315A
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9315A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9315A | 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)
#52555B
Deuteranopia (green-blind)
#767057
Tritanopia (blue-blind)
#CA1142
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b9315a; /* rgb */ color: rgb(185, 49, 90); /* oklch */ color: oklch(53.2% 0.173 7.5);
Tailwind
colors: {
custom: {
50: '#d47488',
500: '#b9315a',
950: '#000000',
},
}SCSS
$custom: #b9315a; $custom-light: #d47488; $custom-dark: #000000;
JSON
{
"hex": "#b9315a",
"rgb": {
"r": 185,
"g": 49,
"b": 90
},
"hsl": {
"h": 341.912,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.5322,
"c": 0.17347,
"h": 7.5
},
"luminance": 0.13249
}Semantic roles & 50–950 ramp
primary
#B9315A
secondary
#7DC8B2
accent
#E1B346
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C