#BB226E#BB226E
#BB226E is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.195 H 356.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #BB226E |
|---|---|
| RGB | rgb(187, 34, 110) |
| HSL | hsl(330, 69%, 43%) |
| HSV | hsv(330, 82%, 73%) |
| CMYK | cmyk(0%, 81.8%, 41.2%, 26.7%) |
| CIE-LAB | lab(42.52, 63.28, -4.58) |
| CIE-LCH | lch(42.52, 63.44, 355.86°) |
| OKLab | oklab(53.02% 0.1948 -0.0112) |
| OKLCH | oklch(53.02% 0.195 356.7) |
| XYZ | xyz(23.8818, 12.8378, 15.9692) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 2.97
Deep Pink
#CB0162
ΔE00 4.63
Mediumvioletred
#C71585
ΔE00 4.91
Violet Red
#A50055
ΔE00 6.60
Dark Hot Pink
#D90166
ΔE00 6.80
Deep Magenta
#A0025C
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB226E #22BB6F
analogous
#BB22BA #BB226E #BB2222
triadic
#BB226E #6EBB22 #226EBB
tetradic
#BB226E #BABB22 #22BB6F #2222BB
square
#BB226E #BABB22 #22BB6F #2222BB
split-complementary
#BB226E #22BB22 #22BABB
monochromatic
#530F31 #871950 #BB226E #DC3E8D #E572AB
Accessibility & contrast
On white
5.89
#BB226E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BB226E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB226E
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB226E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB226E | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465270
Deuteranopia (green-blind)
#706E6B
Tritanopia (blue-blind)
#CB0046
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #bb226e; /* rgb */ color: rgb(187, 34, 110); /* oklch */ color: oklch(53.0% 0.195 356.7);
Tailwind
colors: {
custom: {
50: '#d56f97',
500: '#bb226e',
950: '#000000',
},
}SCSS
$custom: #bb226e; $custom-light: #d56f97; $custom-dark: #000000;
JSON
{
"hex": "#bb226e",
"rgb": {
"r": 187,
"g": 34,
"b": 110
},
"hsl": {
"h": 330.196,
"s": 69.231,
"l": 43.333
},
"oklch": {
"l": 0.53021,
"c": 0.19514,
"h": 356.7
},
"luminance": 0.12835
}Semantic roles & 50–950 ramp
primary
#BB226E
secondary
#6DCC9D
accent
#EC943C
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15080D
muted
#837B7E