#BB226F#BB226F
#BB226F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.196 H 356.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BB226F |
|---|---|
| RGB | rgb(187, 34, 111) |
| HSL | hsl(330, 69%, 43%) |
| HSV | hsv(330, 82%, 73%) |
| CMYK | cmyk(0%, 81.8%, 40.6%, 26.7%) |
| CIE-LAB | lab(42.55, 63.38, -5.15) |
| CIE-LCH | lch(42.55, 63.58, 355.35°) |
| OKLab | oklab(53.06% 0.1951 -0.0128) |
| OKLCH | oklch(53.06% 0.196 356.3) |
| XYZ | xyz(23.9366, 12.8597, 16.2575) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 2.77
Mediumvioletred
#C71585
ΔE00 4.69
Deep Pink
#CB0162
ΔE00 4.83
Violet Red
#A50055
ΔE00 6.71
Deep Magenta
#A0025C
ΔE00 6.91
Dark Hot Pink
#D90166
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB226F #22BB6E
analogous
#BA22BB #BB226F #BB2222
triadic
#BB226F #6FBB22 #226FBB
tetradic
#BB226F #BBBA22 #22BB6E #2222BB
square
#BB226F #BBBA22 #22BB6E #2222BB
split-complementary
#BB226F #22BB22 #22BBBA
monochromatic
#530F32 #871950 #BB226F #DC3E8E #E572AC
Accessibility & contrast
On white
5.88
#BB226F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BB226F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB226F
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB226F | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455271
Deuteranopia (green-blind)
#6F6F6C
Tritanopia (blue-blind)
#CB0046
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #bb226f; /* rgb */ color: rgb(187, 34, 111); /* oklch */ color: oklch(53.1% 0.196 356.3);
Tailwind
colors: {
custom: {
50: '#d56f98',
500: '#bb226f',
950: '#000000',
},
}SCSS
$custom: #bb226f; $custom-light: #d56f98; $custom-dark: #000000;
JSON
{
"hex": "#bb226f",
"rgb": {
"r": 187,
"g": 34,
"b": 111
},
"hsl": {
"h": 329.804,
"s": 69.231,
"l": 43.333
},
"oklch": {
"l": 0.53056,
"c": 0.19554,
"h": 356.3
},
"luminance": 0.12857
}Semantic roles & 50–950 ramp
primary
#BB226F
secondary
#6DCC9C
accent
#EC933C
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E