#BA224E#BA224E
#BA224E is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.186 H 10.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #BA224E |
|---|---|
| RGB | rgb(186, 34, 78) |
| HSL | hsl(343, 69%, 43%) |
| HSV | hsv(343, 82%, 73%) |
| CMYK | cmyk(0%, 81.7%, 58.1%, 27.1%) |
| CIE-LAB | lab(41.43, 60.37, 13.95) |
| CIE-LCH | lch(41.43, 61.96, 13.01°) |
| OKLab | oklab(51.9% 0.1828 0.0348) |
| OKLCH | oklch(51.9% 0.186 10.8) |
| XYZ | xyz(22.1991, 12.1365, 8.3799) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.53
Raspberry (survey)
#B00149
ΔE00 3.91
Purplish Red
#B0054B
ΔE00 3.94
Rose Red
#BE013C
ΔE00 4.54
Rouge
#AB1239
ΔE00 5.37
Light Burgundy
#A8415B
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA224E #22BA8E
analogous
#BA229A #BA224E #BA4222
triadic
#BA224E #4EBA22 #224EBA
tetradic
#BA224E #9ABA22 #22BA8E #4222BA
square
#BA224E #9ABA22 #22BA8E #4222BA
split-complementary
#BA224E #22BA42 #229ABA
monochromatic
#530F23 #861938 #BA224E #DC3E6B #E57193
Accessibility & contrast
On white
6.13
#BA224E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#BA224E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA224E
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA224E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA224E | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4E4F
Deuteranopia (green-blind)
#756D4A
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba224e; /* rgb */ color: rgb(186, 34, 78); /* oklch */ color: oklch(51.9% 0.186 10.8);
Tailwind
colors: {
custom: {
50: '#d66e7f',
500: '#ba224e',
950: '#000000',
},
}SCSS
$custom: #ba224e; $custom-light: #d66e7f; $custom-dark: #000000;
JSON
{
"hex": "#ba224e",
"rgb": {
"r": 186,
"g": 34,
"b": 78
},
"hsl": {
"h": 342.632,
"s": 69.091,
"l": 43.137
},
"oklch": {
"l": 0.51901,
"c": 0.18613,
"h": 10.8
},
"luminance": 0.12133
}Semantic roles & 50–950 ramp
primary
#BA224E
secondary
#6CCCB0
accent
#ECB93C
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C