#BA2951#BA2951
#BA2951 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.181 H 10.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2951 |
|---|---|
| RGB | rgb(186, 41, 81) |
| HSL | hsl(343, 64%, 45%) |
| HSV | hsv(343, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 56.5%, 27.1%) |
| CIE-LAB | lab(42.19, 58.63, 13.10) |
| CIE-LCH | lch(42.19, 60.07, 12.59°) |
| OKLab | oklab(52.48% 0.1777 0.0329) |
| OKLCH | oklch(52.48% 0.181 10.5) |
| XYZ | xyz(22.5300, 12.6223, 9.0330) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.86
Purplish Red
#B0054B
ΔE00 4.51
Raspberry (survey)
#B00149
ΔE00 4.55
Light Burgundy
#A8415B
ΔE00 4.80
Rose Red
#BE013C
ΔE00 5.15
Dark Rose
#B5485D
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2951 #29BA92
analogous
#BA299A #BA2951 #BA4929
triadic
#BA2951 #51BA29 #2951BA
tetradic
#BA2951 #9ABA29 #29BA92 #4929BA
square
#BA2951 #9ABA29 #29BA92 #4929BA
split-complementary
#BA2951 #29BA49 #299ABA
monochromatic
#561325 #881E3B #BA2951 #D74970 #E27B98
Accessibility & contrast
On white
5.96
#BA2951 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#BA2951 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2951
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2951 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2951 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515152
Deuteranopia (green-blind)
#766E4D
Tritanopia (blue-blind)
#CB003A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2951; /* rgb */ color: rgb(186, 41, 81); /* oklch */ color: oklch(52.5% 0.181 10.5);
Tailwind
colors: {
custom: {
50: '#d67181',
500: '#ba2951',
950: '#000000',
},
}SCSS
$custom: #ba2951; $custom-light: #d67181; $custom-dark: #000000;
JSON
{
"hex": "#ba2951",
"rgb": {
"r": 186,
"g": 41,
"b": 81
},
"hsl": {
"h": 343.448,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.5248,
"c": 0.18073,
"h": 10.5
},
"luminance": 0.12619
}Semantic roles & 50–950 ramp
primary
#BA2951
secondary
#75CAB3
accent
#E7B941
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C