#BA2D58#BA2D58
#BA2D58 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.178 H 7.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2D58 |
|---|---|
| RGB | rgb(186, 45, 88) |
| HSL | hsl(342, 61%, 45%) |
| HSV | hsv(342, 76%, 73%) |
| CMYK | cmyk(0%, 75.8%, 52.7%, 27.1%) |
| CIE-LAB | lab(42.80, 57.92, 9.56) |
| CIE-LCH | lch(42.80, 58.70, 9.37°) |
| OKLab | oklab(52.99% 0.1764 0.0246) |
| OKLCH | oklch(52.99% 0.178 7.9) |
| XYZ | xyz(22.9516, 13.0237, 10.5359) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.07
Deep Pink
#CB0162
ΔE00 4.28
Purplish Red
#B0054B
ΔE00 4.78
Dark Rose
#B5485D
ΔE00 4.88
Raspberry (survey)
#B00149
ΔE00 5.00
Ruby
#CA0147
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2D58 #2DBA8F
analogous
#BA2D9E #BA2D58 #BA482D
triadic
#BA2D58 #58BA2D #2D58BA
tetradic
#BA2D58 #9EBA2D #2DBA8F #482DBA
square
#BA2D58 #9EBA2D #2DBA8F #482DBA
split-complementary
#BA2D58 #2DBA48 #2D9EBA
monochromatic
#571529 #892141 #BA2D58 #D55078 #E0819E
Accessibility & contrast
On white
5.83
#BA2D58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA2D58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2D58
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2D58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2D58 | 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)
#515359
Deuteranopia (green-blind)
#766F55
Tritanopia (blue-blind)
#CB013F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2d58; /* rgb */ color: rgb(186, 45, 88); /* oklch */ color: oklch(53.0% 0.178 7.9);
Tailwind
colors: {
custom: {
50: '#d57386',
500: '#ba2d58',
950: '#000000',
},
}SCSS
$custom: #ba2d58; $custom-light: #d57386; $custom-dark: #000000;
JSON
{
"hex": "#ba2d58",
"rgb": {
"r": 186,
"g": 45,
"b": 88
},
"hsl": {
"h": 341.702,
"s": 61.039,
"l": 45.294
},
"oklch": {
"l": 0.52985,
"c": 0.17807,
"h": 7.9
},
"luminance": 0.1302
}Semantic roles & 50–950 ramp
primary
#BA2D58
secondary
#79C9B1
accent
#E4B344
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C