#BA2954#BA2954
#BA2954 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.181 H 9.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2954 |
|---|---|
| RGB | rgb(186, 41, 84) |
| HSL | hsl(342, 64%, 45%) |
| HSV | hsv(342, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 54.8%, 27.1%) |
| CIE-LAB | lab(42.26, 58.85, 11.31) |
| CIE-LCH | lch(42.26, 59.93, 10.88°) |
| OKLab | oklab(52.55% 0.1789 0.0287) |
| OKLCH | oklch(52.55% 0.181 9.1) |
| XYZ | xyz(22.6450, 12.6683, 9.6386) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.31
Raspberry (survey)
#B00149
ΔE00 4.44
Light Burgundy
#A8415B
ΔE00 4.51
Ruby
#CA0147
ΔE00 4.51
Deep Pink
#CB0162
ΔE00 4.76
Dark Rose
#B5485D
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2954 #29BA8F
analogous
#BA299D #BA2954 #BA4729
triadic
#BA2954 #54BA29 #2954BA
tetradic
#BA2954 #9DBA29 #29BA8F #4729BA
square
#BA2954 #9DBA29 #29BA8F #4729BA
split-complementary
#BA2954 #29BA47 #299DBA
monochromatic
#561327 #881E3D #BA2954 #D74973 #E27B9A
Accessibility & contrast
On white
5.94
#BA2954 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2954 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2954
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2954 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2954 | 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)
#505155
Deuteranopia (green-blind)
#756E50
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2954; /* rgb */ color: rgb(186, 41, 84); /* oklch */ color: oklch(52.6% 0.181 9.1);
Tailwind
colors: {
custom: {
50: '#d57183',
500: '#ba2954',
950: '#000000',
},
}SCSS
$custom: #ba2954; $custom-light: #d57183; $custom-dark: #000000;
JSON
{
"hex": "#ba2954",
"rgb": {
"r": 186,
"g": 41,
"b": 84
},
"hsl": {
"h": 342.207,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52555,
"c": 0.18115,
"h": 9.1
},
"luminance": 0.12665
}Semantic roles & 50–950 ramp
primary
#BA2954
secondary
#75CAB1
accent
#E7B641
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090A
muted
#847B7C