#BB478D#BB478D
#BB478D is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.6% C 0.167 H 346.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #BB478D |
|---|---|
| RGB | rgb(187, 71, 141) |
| HSL | hsl(324, 46%, 51%) |
| HSV | hsv(324, 62%, 73%) |
| CMYK | cmyk(0%, 62%, 24.6%, 26.7%) |
| CIE-LAB | lab(48.26, 53.96, -14.90) |
| CIE-LCH | lch(48.26, 55.98, 344.56°) |
| OKLab | oklab(57.59% 0.1627 -0.0394) |
| OKLCH | oklch(57.59% 0.167 346.4) |
| XYZ | xyz(27.5555, 16.9970, 27.0237) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.67
Light Plum
#9D5783
ΔE00 6.56
Purpleish
#98568D
ΔE00 7.49
Magenta (survey)
#C20078
ΔE00 7.53
Ugly Purple
#A442A0
ΔE00 8.23
Purplish
#94568C
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB478D #47BB75
analogous
#AF47BB #BB478D #BB4753
triadic
#BB478D #8DBB47 #478DBB
tetradic
#BB478D #BBAF47 #47BB75 #4753BB
square
#BB478D #BBAF47 #47BB75 #4753BB
split-complementary
#BB478D #53BB47 #47BBAF
monochromatic
#63254A #90356C #BB478D #CC74A9 #DCA0C4
Accessibility & contrast
On white
4.77
#BB478D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#BB478D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB478D
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB478D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB478D | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53668F
Deuteranopia (green-blind)
#747A8A
Tritanopia (blue-blind)
#C74564
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #bb478d; /* rgb */ color: rgb(187, 71, 141); /* oklch */ color: oklch(57.6% 0.167 346.4);
Tailwind
colors: {
custom: {
50: '#d381ae',
500: '#bb478d',
950: '#000000',
},
}SCSS
$custom: #bb478d; $custom-light: #d381ae; $custom-dark: #000000;
JSON
{
"hex": "#bb478d",
"rgb": {
"r": 187,
"g": 71,
"b": 141
},
"hsl": {
"h": 323.793,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.57592,
"c": 0.16742,
"h": 346.4
},
"luminance": 0.16994
}Semantic roles & 50–950 ramp
primary
#BB478D
secondary
#95C9AA
accent
#D68652
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F