#BA2E52#BA2E52
#BA2E52 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.176 H 10.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E52 |
|---|---|
| RGB | rgb(186, 46, 82) |
| HSL | hsl(345, 60%, 45%) |
| HSV | hsv(345, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 55.9%, 27.1%) |
| CIE-LAB | lab(42.77, 57.13, 13.27) |
| CIE-LCH | lch(42.77, 58.65, 13.08°) |
| OKLab | oklab(52.92% 0.173 0.0334) |
| OKLCH | oklch(52.92% 0.176 10.9) |
| XYZ | xyz(22.7519, 13.0055, 9.2933) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.98
Dark Rose
#B5485D
ΔE00 4.52
Light Burgundy
#A8415B
ΔE00 4.54
Purplish Red
#B0054B
ΔE00 5.17
Lipstick
#D5174E
ΔE00 5.17
Raspberry (survey)
#B00149
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E52 #2EBA96
analogous
#BA2E98 #BA2E52 #BA502E
triadic
#BA2E52 #52BA2E #2E52BA
tetradic
#BA2E52 #98BA2E #2EBA96 #502EBA
square
#BA2E52 #98BA2E #2EBA96 #502EBA
split-complementary
#BA2E52 #2EBA50 #2E98BA
monochromatic
#581627 #89223C #BA2E52 #D45173 #E0829A
Accessibility & contrast
On white
5.83
#BA2E52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA2E52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E52
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E52 | 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)
#535353
Deuteranopia (green-blind)
#776F4E
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2e52; /* rgb */ color: rgb(186, 46, 82); /* oklch */ color: oklch(52.9% 0.176 10.9);
Tailwind
colors: {
custom: {
50: '#d57382',
500: '#ba2e52',
950: '#000000',
},
}SCSS
$custom: #ba2e52; $custom-light: #d57382; $custom-dark: #000000;
JSON
{
"hex": "#ba2e52",
"rgb": {
"r": 186,
"g": 46,
"b": 82
},
"hsl": {
"h": 344.571,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52918,
"c": 0.17621,
"h": 10.9
},
"luminance": 0.13002
}Semantic roles & 50–950 ramp
primary
#BA2E52
secondary
#7BC9B5
accent
#E3BB44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C