#BB315D#BB315D
#BB315D is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.6% C 0.176 H 6.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BB315D |
|---|---|
| RGB | rgb(187, 49, 93) |
| HSL | hsl(341, 58%, 46%) |
| HSV | hsv(341, 74%, 73%) |
| CMYK | cmyk(0%, 73.8%, 50.3%, 26.7%) |
| CIE-LAB | lab(43.59, 57.29, 7.58) |
| CIE-LCH | lch(43.59, 57.78, 7.53°) |
| OKLab | oklab(53.64% 0.1748 0.0198) |
| OKLCH | oklch(53.64% 0.176 6.4) |
| XYZ | xyz(23.5697, 13.5549, 11.7290) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.86
Light Burgundy
#A8415B
ΔE00 3.96
Dark Rose
#B5485D
ΔE00 4.72
Dark Pink
#CB416B
ΔE00 5.17
Dark Hot Pink
#D90166
ΔE00 5.24
Deep Rose
#C74767
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB315D #31BB8F
analogous
#BB31A2 #BB315D #BB4A31
triadic
#BB315D #5DBB31 #315DBB
tetradic
#BB315D #A2BB31 #31BB8F #4A31BB
square
#BB315D #A2BB31 #31BB8F #4A31BB
split-complementary
#BB315D #31BB4A #31A2BB
monochromatic
#5A182D #8B2445 #BB315D #D3567E #E087A3
Accessibility & contrast
On white
5.66
#BB315D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#BB315D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB315D
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB315D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB315D | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53555E
Deuteranopia (green-blind)
#77715A
Tritanopia (blue-blind)
#CC1143
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #bb315d; /* rgb */ color: rgb(187, 49, 93); /* oklch */ color: oklch(53.6% 0.176 6.4);
Tailwind
colors: {
custom: {
50: '#d5758a',
500: '#bb315d',
950: '#000000',
},
}SCSS
$custom: #bb315d; $custom-light: #d5758a; $custom-dark: #000000;
JSON
{
"hex": "#bb315d",
"rgb": {
"r": 187,
"g": 49,
"b": 93
},
"hsl": {
"h": 340.87,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.53643,
"c": 0.1759,
"h": 6.4
},
"luminance": 0.13552
}Semantic roles & 50–950 ramp
primary
#BB315D
secondary
#7FC9B1
accent
#E2B046
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C