#BA2E57#BA2E57
#BA2E57 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.177 H 8.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E57 |
|---|---|
| RGB | rgb(186, 46, 87) |
| HSL | hsl(342, 60%, 45%) |
| HSV | hsv(342, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 53.2%, 27.1%) |
| CIE-LAB | lab(42.89, 57.51, 10.31) |
| CIE-LCH | lch(42.89, 58.43, 10.16°) |
| OKLab | oklab(53.04% 0.1749 0.0264) |
| OKLCH | oklch(53.04% 0.177 8.6) |
| XYZ | xyz(22.9491, 13.0844, 10.3321) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.05
Deep Pink
#CB0162
ΔE00 4.60
Dark Rose
#B5485D
ΔE00 4.64
Purplish Red
#B0054B
ΔE00 4.90
Ruby
#CA0147
ΔE00 5.03
Raspberry (survey)
#B00149
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E57 #2EBA91
analogous
#BA2E9D #BA2E57 #BA4B2E
triadic
#BA2E57 #57BA2E #2E57BA
tetradic
#BA2E57 #9DBA2E #2EBA91 #4B2EBA
square
#BA2E57 #9DBA2E #2EBA91 #4B2EBA
split-complementary
#BA2E57 #2EBA4B #2E9DBA
monochromatic
#581629 #892240 #BA2E57 #D45177 #E0829E
Accessibility & contrast
On white
5.81
#BA2E57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#BA2E57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E57
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E57 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525358
Deuteranopia (green-blind)
#766F54
Tritanopia (blue-blind)
#CB033F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2e57; /* rgb */ color: rgb(186, 46, 87); /* oklch */ color: oklch(53.0% 0.177 8.6);
Tailwind
colors: {
custom: {
50: '#d57386',
500: '#ba2e57',
950: '#000000',
},
}SCSS
$custom: #ba2e57; $custom-light: #d57386; $custom-dark: #000000;
JSON
{
"hex": "#ba2e57",
"rgb": {
"r": 186,
"g": 46,
"b": 87
},
"hsl": {
"h": 342.429,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.53045,
"c": 0.17692,
"h": 8.6
},
"luminance": 0.13081
}Semantic roles & 50–950 ramp
primary
#BA2E57
secondary
#7BC9B2
accent
#E3B544
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C