#BA2A56#BA2A56
#BA2A56 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.181 H 8.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A56 |
|---|---|
| RGB | rgb(186, 42, 86) |
| HSL | hsl(342, 63%, 45%) |
| HSV | hsv(342, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 53.8%, 27.1%) |
| CIE-LAB | lab(42.41, 58.70, 10.27) |
| CIE-LCH | lch(42.41, 59.59, 9.93°) |
| OKLab | oklab(52.69% 0.1786 0.0263) |
| OKLCH | oklch(52.69% 0.181 8.4) |
| XYZ | xyz(22.7595, 12.7702, 10.0687) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.33
Purplish Red
#B0054B
ΔE00 4.39
Deep Pink
#CB0162
ΔE00 4.40
Raspberry (survey)
#B00149
ΔE00 4.58
Ruby
#CA0147
ΔE00 4.94
Dark Rose
#B5485D
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A56 #2ABA8E
analogous
#BA2A9E #BA2A56 #BA462A
triadic
#BA2A56 #56BA2A #2A56BA
tetradic
#BA2A56 #9EBA2A #2ABA8E #462ABA
square
#BA2A56 #9EBA2A #2ABA8E #462ABA
split-complementary
#BA2A56 #2ABA46 #2A9EBA
monochromatic
#561328 #881F3F #BA2A56 #D64B75 #E27D9C
Accessibility & contrast
On white
5.91
#BA2A56 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#BA2A56 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A56
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A56 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505257
Deuteranopia (green-blind)
#756F52
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2a56; /* rgb */ color: rgb(186, 42, 86); /* oklch */ color: oklch(52.7% 0.181 8.4);
Tailwind
colors: {
custom: {
50: '#d57185',
500: '#ba2a56',
950: '#000000',
},
}SCSS
$custom: #ba2a56; $custom-light: #d57185; $custom-dark: #000000;
JSON
{
"hex": "#ba2a56",
"rgb": {
"r": 186,
"g": 42,
"b": 86
},
"hsl": {
"h": 341.667,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52686,
"c": 0.18056,
"h": 8.4
},
"luminance": 0.12767
}Semantic roles & 50–950 ramp
primary
#BA2A56
secondary
#76CAB0
accent
#E6B442
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C