#BA2B57#BA2B57
#BA2B57 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.180 H 8.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B57 |
|---|---|
| RGB | rgb(186, 43, 87) |
| HSL | hsl(342, 62%, 45%) |
| HSV | hsv(342, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 53.2%, 27.1%) |
| CIE-LAB | lab(42.55, 58.47, 9.83) |
| CIE-LCH | lch(42.55, 59.29, 9.55°) |
| OKLab | oklab(52.79% 0.178 0.0252) |
| OKLCH | oklch(52.79% 0.18 8.1) |
| XYZ | xyz(22.8360, 12.8582, 10.2944) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.23
Deep Pink
#CB0162
ΔE00 4.28
Purplish Red
#B0054B
ΔE00 4.52
Raspberry (survey)
#B00149
ΔE00 4.73
Dark Rose
#B5485D
ΔE00 5.10
Ruby
#CA0147
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B57 #2BBA8E
analogous
#BA2B9F #BA2B57 #BA462B
triadic
#BA2B57 #57BA2B #2B57BA
tetradic
#BA2B57 #9FBA2B #2BBA8E #462BBA
square
#BA2B57 #9FBA2B #2BBA8E #462BBA
split-complementary
#BA2B57 #2BBA46 #2B9FBA
monochromatic
#571428 #882040 #BA2B57 #D64C77 #E17E9D
Accessibility & contrast
On white
5.88
#BA2B57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BA2B57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B57
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B57 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505258
Deuteranopia (green-blind)
#756F54
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2b57; /* rgb */ color: rgb(186, 43, 87); /* oklch */ color: oklch(52.8% 0.180 8.1);
Tailwind
colors: {
custom: {
50: '#d57286',
500: '#ba2b57',
950: '#000000',
},
}SCSS
$custom: #ba2b57; $custom-light: #d57286; $custom-dark: #000000;
JSON
{
"hex": "#ba2b57",
"rgb": {
"r": 186,
"g": 43,
"b": 87
},
"hsl": {
"h": 341.538,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52793,
"c": 0.17981,
"h": 8.1
},
"luminance": 0.12855
}Semantic roles & 50–950 ramp
primary
#BA2B57
secondary
#77CAB0
accent
#E6B342
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C