#B8315A#B8315A
#B8315A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.173 H 7.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B8315A |
|---|---|
| RGB | rgb(184, 49, 90) |
| HSL | hsl(342, 58%, 46%) |
| HSV | hsv(342, 73%, 72%) |
| CMYK | cmyk(0%, 73.4%, 51.1%, 27.8%) |
| CIE-LAB | lab(42.96, 56.16, 8.47) |
| CIE-LCH | lch(42.96, 56.79, 8.58°) |
| OKLab | oklab(53.05% 0.1711 0.022) |
| OKLCH | oklch(53.05% 0.173 7.3) |
| XYZ | xyz(22.7129, 13.1282, 11.0089) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.55
Deep Pink
#CB0162
ΔE00 4.42
Dark Rose
#B5485D
ΔE00 4.60
Purplish Red
#B0054B
ΔE00 5.09
Raspberry (survey)
#B00149
ΔE00 5.35
Dark Pink
#CB416B
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8315A #31B88F
analogous
#B8319D #B8315A #B84B31
triadic
#B8315A #5AB831 #315AB8
tetradic
#B8315A #9DB831 #31B88F #4B31B8
square
#B8315A #9DB831 #31B88F #4B31B8
split-complementary
#B8315A #31B84B #319DB8
monochromatic
#57172B #882442 #B8315A #D2557B #DE85A0
Accessibility & contrast
On white
5.79
#B8315A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#B8315A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8315A
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8315A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8315A | 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)
#52545B
Deuteranopia (green-blind)
#756F57
Tritanopia (blue-blind)
#C91242
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b8315a; /* rgb */ color: rgb(184, 49, 90); /* oklch */ color: oklch(53.0% 0.173 7.3);
Tailwind
colors: {
custom: {
50: '#d37488',
500: '#b8315a',
950: '#000000',
},
}SCSS
$custom: #b8315a; $custom-light: #d37488; $custom-dark: #000000;
JSON
{
"hex": "#b8315a",
"rgb": {
"r": 184,
"g": 49,
"b": 90
},
"hsl": {
"h": 341.778,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.5305,
"c": 0.17253,
"h": 7.3
},
"luminance": 0.13125
}Semantic roles & 50–950 ramp
primary
#B8315A
secondary
#7DC8B1
accent
#E1B247
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C