#BA2551#BA2551
#BA2551 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.184 H 9.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2551 |
|---|---|
| RGB | rgb(186, 37, 81) |
| HSL | hsl(342, 67%, 44%) |
| HSV | hsv(342, 80%, 73%) |
| CMYK | cmyk(0%, 80.1%, 56.5%, 27.1%) |
| CIE-LAB | lab(41.78, 59.78, 12.54) |
| CIE-LCH | lch(41.78, 61.08, 11.85°) |
| OKLab | oklab(52.18% 0.1814 0.0316) |
| OKLCH | oklch(52.18% 0.184 9.9) |
| XYZ | xyz(22.3987, 12.3596, 8.9892) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.98
Ruby
#CA0147
ΔE00 4.01
Raspberry (survey)
#B00149
ΔE00 4.04
Light Burgundy
#A8415B
ΔE00 4.97
Deep Pink
#CB0162
ΔE00 5.15
Rose Red
#BE013C
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2551 #25BA8E
analogous
#BA259B #BA2551 #BA4325
triadic
#BA2551 #51BA25 #2551BA
tetradic
#BA2551 #9BBA25 #25BA8E #4325BA
square
#BA2551 #9BBA25 #25BA8E #4325BA
split-complementary
#BA2551 #25BA43 #259BBA
monochromatic
#541125 #871B3B #BA2551 #DA436F #E47696
Accessibility & contrast
On white
6.05
#BA2551 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#BA2551 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2551
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2551 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2551 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4F52
Deuteranopia (green-blind)
#756D4D
Tritanopia (blue-blind)
#CB0038
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2551; /* rgb */ color: rgb(186, 37, 81); /* oklch */ color: oklch(52.2% 0.184 9.9);
Tailwind
colors: {
custom: {
50: '#d66f81',
500: '#ba2551',
950: '#000000',
},
}SCSS
$custom: #ba2551; $custom-light: #d66f81; $custom-dark: #000000;
JSON
{
"hex": "#ba2551",
"rgb": {
"r": 186,
"g": 37,
"b": 81
},
"hsl": {
"h": 342.282,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.52181,
"c": 0.18415,
"h": 9.9
},
"luminance": 0.12356
}Semantic roles & 50–950 ramp
primary
#BA2551
secondary
#70CBB0
accent
#EAB73E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C