#BA4252#BA4252
#BA4252 is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.0% C 0.154 H 16.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4252 |
|---|---|
| RGB | rgb(186, 66, 82) |
| HSL | hsl(352, 48%, 49%) |
| HSV | hsv(352, 65%, 73%) |
| CMYK | cmyk(0%, 64.5%, 55.9%, 27.1%) |
| CIE-LAB | lab(45.56, 49.45, 17.07) |
| CIE-LCH | lch(45.56, 52.32, 19.05°) |
| OKLab | oklab(54.99% 0.1485 0.0425) |
| OKLCH | oklch(54.99% 0.154 16) |
| XYZ | xyz(23.7230, 14.9478, 9.6170) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.71
Dark Rose
#B5485D
ΔE00 3.29
Light Maroon
#A24857
ΔE00 5.40
Lipstick
#D5174E
ΔE00 5.51
Deep Rose
#C74767
ΔE00 5.70
Dull Red
#BB3F3F
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4252 #42BAAA
analogous
#BA428E #BA4252 #BA6E42
triadic
#BA4252 #52BA42 #4252BA
tetradic
#BA4252 #8EBA42 #42BAAA #6E42BA
square
#BA4252 #8EBA42 #42BAAA #6E42BA
split-complementary
#BA4252 #42BA6E #428EBA
monochromatic
#60222A #8D323E #BA4252 #CB6E7A #DB9BA4
Accessibility & contrast
On white
5.26
#BA4252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#BA4252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4252
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4252 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5C52
Deuteranopia (green-blind)
#7E754F
Tritanopia (blue-blind)
#CB2B48
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ba4252; /* rgb */ color: rgb(186, 66, 82); /* oklch */ color: oklch(55.0% 0.154 16.0);
Tailwind
colors: {
custom: {
50: '#d57d82',
500: '#ba4252',
950: '#000000',
},
}SCSS
$custom: #ba4252; $custom-light: #d57d82; $custom-dark: #000000;
JSON
{
"hex": "#ba4252",
"rgb": {
"r": 186,
"g": 66,
"b": 82
},
"hsl": {
"h": 352,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.54994,
"c": 0.15442,
"h": 16
},
"luminance": 0.14945
}Semantic roles & 50–950 ramp
primary
#BA4252
secondary
#90C8C0
accent
#D7C551
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C