#BA2A50#BA2A50
#BA2A50 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.180 H 11.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A50 |
|---|---|
| RGB | rgb(186, 42, 80) |
| HSL | hsl(344, 63%, 45%) |
| HSV | hsv(344, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 57%, 27.1%) |
| CIE-LAB | lab(42.27, 58.25, 13.84) |
| CIE-LCH | lch(42.27, 59.87, 13.37°) |
| OKLab | oklab(52.54% 0.1763 0.0347) |
| OKLCH | oklch(52.54% 0.18 11.1) |
| XYZ | xyz(22.5278, 12.6775, 8.8486) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.65
Purplish Red
#B0054B
ΔE00 4.76
Raspberry (survey)
#B00149
ΔE00 4.76
Rose Red
#BE013C
ΔE00 4.88
Light Burgundy
#A8415B
ΔE00 4.91
Dark Rose
#B5485D
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A50 #2ABA94
analogous
#BA2A98 #BA2A50 #BA4C2A
triadic
#BA2A50 #50BA2A #2A50BA
tetradic
#BA2A50 #98BA2A #2ABA94 #4C2ABA
square
#BA2A50 #98BA2A #2ABA94 #4C2ABA
split-complementary
#BA2A50 #2ABA4C #2A98BA
monochromatic
#561325 #881F3B #BA2A50 #D64B70 #E27D97
Accessibility & contrast
On white
5.94
#BA2A50 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2A50 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A50
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A50 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515151
Deuteranopia (green-blind)
#766E4C
Tritanopia (blue-blind)
#CB003A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2a50; /* rgb */ color: rgb(186, 42, 80); /* oklch */ color: oklch(52.5% 0.180 11.1);
Tailwind
colors: {
custom: {
50: '#d67180',
500: '#ba2a50',
950: '#000000',
},
}SCSS
$custom: #ba2a50; $custom-light: #d67180; $custom-dark: #000000;
JSON
{
"hex": "#ba2a50",
"rgb": {
"r": 186,
"g": 42,
"b": 80
},
"hsl": {
"h": 344.167,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52535,
"c": 0.17972,
"h": 11.1
},
"luminance": 0.12674
}Semantic roles & 50–950 ramp
primary
#BA2A50
secondary
#76CAB4
accent
#E6BB42
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C