#BA2A51#BA2A51
#BA2A51 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.180 H 10.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A51 |
|---|---|
| RGB | rgb(186, 42, 81) |
| HSL | hsl(344, 63%, 45%) |
| HSV | hsv(344, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 56.5%, 27.1%) |
| CIE-LAB | lab(42.30, 58.33, 13.25) |
| CIE-LCH | lch(42.30, 59.81, 12.79°) |
| OKLab | oklab(52.56% 0.1767 0.0333) |
| OKLCH | oklch(52.56% 0.18 10.7) |
| XYZ | xyz(22.5651, 12.6924, 9.0447) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.84
Purplish Red
#B0054B
ΔE00 4.65
Raspberry (survey)
#B00149
ΔE00 4.68
Light Burgundy
#A8415B
ΔE00 4.77
Dark Rose
#B5485D
ΔE00 5.04
Rose Red
#BE013C
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A51 #2ABA93
analogous
#BA2A99 #BA2A51 #BA4B2A
triadic
#BA2A51 #51BA2A #2A51BA
tetradic
#BA2A51 #99BA2A #2ABA93 #4B2ABA
square
#BA2A51 #99BA2A #2ABA93 #4B2ABA
split-complementary
#BA2A51 #2ABA4B #2A99BA
monochromatic
#561326 #881F3B #BA2A51 #D64B71 #E27D98
Accessibility & contrast
On white
5.94
#BA2A51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA2A51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A51
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A51 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515152
Deuteranopia (green-blind)
#766E4D
Tritanopia (blue-blind)
#CB003B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2a51; /* rgb */ color: rgb(186, 42, 81); /* oklch */ color: oklch(52.6% 0.180 10.7);
Tailwind
colors: {
custom: {
50: '#d67181',
500: '#ba2a51',
950: '#000000',
},
}SCSS
$custom: #ba2a51; $custom-light: #d67181; $custom-dark: #000000;
JSON
{
"hex": "#ba2a51",
"rgb": {
"r": 186,
"g": 42,
"b": 81
},
"hsl": {
"h": 343.75,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.5256,
"c": 0.17983,
"h": 10.7
},
"luminance": 0.12689
}Semantic roles & 50–950 ramp
primary
#BA2A51
secondary
#76CAB3
accent
#E6BA42
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C