#BA224D#BA224D
#BA224D is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.186 H 11.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #BA224D |
|---|---|
| RGB | rgb(186, 34, 77) |
| HSL | hsl(343, 69%, 43%) |
| HSV | hsv(343, 82%, 73%) |
| CMYK | cmyk(0%, 81.7%, 58.6%, 27.1%) |
| CIE-LAB | lab(41.41, 60.30, 14.55) |
| CIE-LCH | lch(41.41, 62.03, 13.57°) |
| OKLab | oklab(51.88% 0.1825 0.0362) |
| OKLCH | oklch(51.88% 0.186 11.2) |
| XYZ | xyz(22.1635, 12.1223, 8.1925) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.34
Raspberry (survey)
#B00149
ΔE00 4.02
Purplish Red
#B0054B
ΔE00 4.08
Rose Red
#BE013C
ΔE00 4.27
Rouge
#AB1239
ΔE00 5.17
Lipstick
#D5174E
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA224D #22BA8F
analogous
#BA2299 #BA224D #BA4322
triadic
#BA224D #4DBA22 #224DBA
tetradic
#BA224D #99BA22 #22BA8F #4322BA
square
#BA224D #99BA22 #22BA8F #4322BA
split-complementary
#BA224D #22BA43 #2299BA
monochromatic
#530F22 #861938 #BA224D #DC3E6A #E57192
Accessibility & contrast
On white
6.13
#BA224D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#BA224D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA224D
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA224D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA224D | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4E4E
Deuteranopia (green-blind)
#756D49
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba224d; /* rgb */ color: rgb(186, 34, 77); /* oklch */ color: oklch(51.9% 0.186 11.2);
Tailwind
colors: {
custom: {
50: '#d66e7e',
500: '#ba224d',
950: '#000000',
},
}SCSS
$custom: #ba224d; $custom-light: #d66e7e; $custom-dark: #000000;
JSON
{
"hex": "#ba224d",
"rgb": {
"r": 186,
"g": 34,
"b": 77
},
"hsl": {
"h": 343.026,
"s": 69.091,
"l": 43.137
},
"oklch": {
"l": 0.51877,
"c": 0.18601,
"h": 11.2
},
"luminance": 0.12119
}Semantic roles & 50–950 ramp
primary
#BA224D
secondary
#6CCCB1
accent
#ECBA3C
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B