#BA2D57#BA2D57
#BA2D57 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.178 H 8.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2D57 |
|---|---|
| RGB | rgb(186, 45, 87) |
| HSL | hsl(342, 61%, 45%) |
| HSV | hsv(342, 76%, 73%) |
| CMYK | cmyk(0%, 75.8%, 53.2%, 27.1%) |
| CIE-LAB | lab(42.77, 57.84, 10.15) |
| CIE-LCH | lch(42.77, 58.72, 9.95°) |
| OKLab | oklab(52.96% 0.176 0.026) |
| OKLCH | oklch(52.96% 0.178 8.4) |
| XYZ | xyz(22.9105, 13.0072, 10.3192) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.10
Deep Pink
#CB0162
ΔE00 4.49
Purplish Red
#B0054B
ΔE00 4.77
Dark Rose
#B5485D
ΔE00 4.80
Raspberry (survey)
#B00149
ΔE00 4.96
Ruby
#CA0147
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2D57 #2DBA90
analogous
#BA2D9D #BA2D57 #BA4A2D
triadic
#BA2D57 #57BA2D #2D57BA
tetradic
#BA2D57 #9DBA2D #2DBA90 #4A2DBA
square
#BA2D57 #9DBA2D #2DBA90 #4A2DBA
split-complementary
#BA2D57 #2DBA4A #2D9DBA
monochromatic
#571529 #892140 #BA2D57 #D55077 #E0819D
Accessibility & contrast
On white
5.83
#BA2D57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA2D57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2D57
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2D57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2D57 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515358
Deuteranopia (green-blind)
#766F54
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2d57; /* rgb */ color: rgb(186, 45, 87); /* oklch */ color: oklch(53.0% 0.178 8.4);
Tailwind
colors: {
custom: {
50: '#d57386',
500: '#ba2d57',
950: '#000000',
},
}SCSS
$custom: #ba2d57; $custom-light: #d57386; $custom-dark: #000000;
JSON
{
"hex": "#ba2d57",
"rgb": {
"r": 186,
"g": 45,
"b": 87
},
"hsl": {
"h": 342.128,
"s": 61.039,
"l": 45.294
},
"oklch": {
"l": 0.52959,
"c": 0.1779,
"h": 8.4
},
"luminance": 0.13004
}Semantic roles & 50–950 ramp
primary
#BA2D57
secondary
#79C9B2
accent
#E4B444
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C