#BB4797#BB4797
#BB4797 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.0% C 0.174 H 341.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #BB4797 |
|---|---|
| RGB | rgb(187, 71, 151) |
| HSL | hsl(319, 46%, 51%) |
| HSV | hsv(319, 62%, 73%) |
| CMYK | cmyk(0%, 62%, 19.3%, 26.7%) |
| CIE-LAB | lab(48.65, 55.36, -20.28) |
| CIE-LCH | lch(48.65, 58.96, 339.88°) |
| OKLab | oklab(58.01% 0.1651 -0.0543) |
| OKLCH | oklch(58.01% 0.174 341.8) |
| XYZ | xyz(28.3334, 17.3082, 31.1208) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 6.36
Purpley Pink
#C83CB9
ΔE00 6.47
Ugly Purple
#A442A0
ΔE00 6.58
Purpleish
#98568D
ΔE00 7.16
Light Plum
#9D5783
ΔE00 7.32
Pinky Purple
#C94CBE
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB4797 #47BB6B
analogous
#A547BB #BB4797 #BB475D
triadic
#BB4797 #97BB47 #4797BB
tetradic
#BB4797 #BBA547 #47BB6B #475DBB
square
#BB4797 #BBA547 #47BB6B #475DBB
split-complementary
#BB4797 #5DBB47 #47BBA5
monochromatic
#632550 #903574 #BB4797 #CC74B0 #DCA0CA
Accessibility & contrast
On white
4.71
#BB4797 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#BB4797 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB4797
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB4797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB4797 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6899
Deuteranopia (green-blind)
#717A94
Tritanopia (blue-blind)
#C64869
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #bb4797; /* rgb */ color: rgb(187, 71, 151); /* oklch */ color: oklch(58.0% 0.174 341.8);
Tailwind
colors: {
custom: {
50: '#d381b5',
500: '#bb4797',
950: '#000000',
},
}SCSS
$custom: #bb4797; $custom-light: #d381b5; $custom-dark: #000000;
JSON
{
"hex": "#bb4797",
"rgb": {
"r": 187,
"g": 71,
"b": 151
},
"hsl": {
"h": 318.621,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.58007,
"c": 0.17378,
"h": 341.8
},
"luminance": 0.17306
}Semantic roles & 50–950 ramp
primary
#BB4797
secondary
#95C9A5
accent
#D67B52
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150B11
muted
#837C80