#BA2155#BA2155
#BA2155 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.188 H 7.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2155 |
|---|---|
| RGB | rgb(186, 33, 85) |
| HSL | hsl(340, 70%, 43%) |
| HSV | hsv(340, 82%, 73%) |
| CMYK | cmyk(0%, 82.3%, 54.3%, 27.1%) |
| CIE-LAB | lab(41.51, 61.12, 9.64) |
| CIE-LCH | lch(41.51, 61.87, 8.96°) |
| OKLab | oklab(52.01% 0.1863 0.0247) |
| OKLCH | oklch(52.01% 0.188 7.5) |
| XYZ | xyz(22.4354, 12.1860, 9.7633) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.47
Raspberry (survey)
#B00149
ΔE00 3.71
Deep Pink
#CB0162
ΔE00 3.99
Light Burgundy
#A8415B
ΔE00 4.99
Ruby
#CA0147
ΔE00 5.17
Dark Hot Pink
#D90166
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2155 #21BA86
analogous
#BA21A1 #BA2155 #BA3A21
triadic
#BA2155 #55BA21 #2155BA
tetradic
#BA2155 #A1BA21 #21BA86 #3A21BA
square
#BA2155 #A1BA21 #21BA86 #3A21BA
split-complementary
#BA2155 #21BA3A #21A1BA
monochromatic
#520F25 #86183D #BA2155 #DC3C72 #E67098
Accessibility & contrast
On white
6.11
#BA2155 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#BA2155 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2155
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2155 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2155 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4F56
Deuteranopia (green-blind)
#736D51
Tritanopia (blue-blind)
#CB0039
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba2155; /* rgb */ color: rgb(186, 33, 85); /* oklch */ color: oklch(52.0% 0.188 7.5);
Tailwind
colors: {
custom: {
50: '#d66e84',
500: '#ba2155',
950: '#000000',
},
}SCSS
$custom: #ba2155; $custom-light: #d66e84; $custom-dark: #000000;
JSON
{
"hex": "#ba2155",
"rgb": {
"r": 186,
"g": 33,
"b": 85
},
"hsl": {
"h": 339.608,
"s": 69.863,
"l": 42.941
},
"oklch": {
"l": 0.52012,
"c": 0.18796,
"h": 7.5
},
"luminance": 0.12183
}Semantic roles & 50–950 ramp
primary
#BA2155
secondary
#6BCCAB
accent
#EDB03B
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080A
muted
#847B7C