#BA2757#BA2757
#BA2757 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.183 H 7.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2757 |
|---|---|
| RGB | rgb(186, 39, 87) |
| HSL | hsl(340, 65%, 44%) |
| HSV | hsv(340, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 53.2%, 27.1%) |
| CIE-LAB | lab(42.13, 59.66, 9.24) |
| CIE-LCH | lch(42.13, 60.38, 8.80°) |
| OKLab | oklab(52.48% 0.1819 0.0238) |
| OKLCH | oklch(52.48% 0.183 7.4) |
| XYZ | xyz(22.6976, 12.5815, 10.2483) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.94
Purplish Red
#B0054B
ΔE00 4.09
Raspberry (survey)
#B00149
ΔE00 4.33
Light Burgundy
#A8415B
ΔE00 4.52
Ruby
#CA0147
ΔE00 5.33
Dark Rose
#B5485D
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2757 #27BA8A
analogous
#BA27A1 #BA2757 #BA4127
triadic
#BA2757 #57BA27 #2757BA
tetradic
#BA2757 #A1BA27 #27BA8A #4127BA
square
#BA2757 #A1BA27 #27BA8A #4127BA
split-complementary
#BA2757 #27BA41 #27A1BA
monochromatic
#551228 #871C3F #BA2757 #D84676 #E3799B
Accessibility & contrast
On white
5.97
#BA2757 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#BA2757 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2757
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2757 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2757 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5158
Deuteranopia (green-blind)
#746E53
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2757; /* rgb */ color: rgb(186, 39, 87); /* oklch */ color: oklch(52.5% 0.183 7.4);
Tailwind
colors: {
custom: {
50: '#d57086',
500: '#ba2757',
950: '#000000',
},
}SCSS
$custom: #ba2757; $custom-light: #d57086; $custom-dark: #000000;
JSON
{
"hex": "#ba2757",
"rgb": {
"r": 186,
"g": 39,
"b": 87
},
"hsl": {
"h": 340.408,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52481,
"c": 0.18343,
"h": 7.4
},
"luminance": 0.12578
}Semantic roles & 50–950 ramp
primary
#BA2757
secondary
#72CBAE
accent
#E8B140
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C