#BB315E#BB315E
#BB315E is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.176 H 6.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #BB315E |
|---|---|
| RGB | rgb(187, 49, 94) |
| HSL | hsl(340, 58%, 46%) |
| HSV | hsv(340, 74%, 73%) |
| CMYK | cmyk(0%, 73.8%, 49.7%, 26.7%) |
| CIE-LAB | lab(43.61, 57.37, 6.99) |
| CIE-LCH | lch(43.61, 57.79, 6.95°) |
| OKLab | oklab(53.67% 0.1752 0.0183) |
| OKLCH | oklch(53.67% 0.176 6) |
| XYZ | xyz(23.6142, 13.5728, 11.9638) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.72
Light Burgundy
#A8415B
ΔE00 4.02
Dark Rose
#B5485D
ΔE00 4.88
Dark Pink
#CB416B
ΔE00 5.14
Dark Hot Pink
#D90166
ΔE00 5.17
Deep Rose
#C74767
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB315E #31BB8E
analogous
#BB31A3 #BB315E #BB4931
triadic
#BB315E #5EBB31 #315EBB
tetradic
#BB315E #A3BB31 #31BB8E #4931BB
square
#BB315E #A3BB31 #31BB8E #4931BB
split-complementary
#BB315E #31BB49 #31A3BB
monochromatic
#5A182D #8B2446 #BB315E #D3567F #E087A4
Accessibility & contrast
On white
5.65
#BB315E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#BB315E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB315E
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB315E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB315E | 1.00 | 5.65 | 3.71 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52565F
Deuteranopia (green-blind)
#77715B
Tritanopia (blue-blind)
#CC1244
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #bb315e; /* rgb */ color: rgb(187, 49, 94); /* oklch */ color: oklch(53.7% 0.176 6.0);
Tailwind
colors: {
custom: {
50: '#d5758b',
500: '#bb315e',
950: '#000000',
},
}SCSS
$custom: #bb315e; $custom-light: #d5758b; $custom-dark: #000000;
JSON
{
"hex": "#bb315e",
"rgb": {
"r": 187,
"g": 49,
"b": 94
},
"hsl": {
"h": 340.435,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.53671,
"c": 0.17611,
"h": 6
},
"luminance": 0.1357
}Semantic roles & 50–950 ramp
primary
#BB315E
secondary
#7FC9B1
accent
#E2AF46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D