#BA254A#BA254A
#BA254A is a mid, vivid red. Relative luminance 0.123; OKLCH L 52.0% C 0.183 H 13.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #BA254A |
|---|---|
| RGB | rgb(186, 37, 74) |
| HSL | hsl(345, 67%, 44%) |
| HSV | hsv(345, 80%, 73%) |
| CMYK | cmyk(0%, 80.1%, 60.2%, 27.1%) |
| CIE-LAB | lab(41.63, 59.30, 16.73) |
| CIE-LCH | lch(41.63, 61.61, 15.76°) |
| OKLab | oklab(52.02% 0.1787 0.0412) |
| OKLCH | oklch(52.02% 0.183 13) |
| XYZ | xyz(22.1496, 12.2600, 7.6774) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 2.88
Rose Red
#BE013C
ΔE00 3.43
Rouge
#AB1239
ΔE00 4.71
Raspberry (survey)
#B00149
ΔE00 4.86
Purplish Red
#B0054B
ΔE00 5.00
Lipstick
#D5174E
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA254A #25BA95
analogous
#BA2594 #BA254A #BA4B25
triadic
#BA254A #4ABA25 #254ABA
tetradic
#BA254A #94BA25 #25BA95 #4B25BA
square
#BA254A #94BA25 #25BA95 #4B25BA
split-complementary
#BA254A #25BA4B #2594BA
monochromatic
#541121 #871B36 #BA254A #DA4368 #E47691
Accessibility & contrast
On white
6.08
#BA254A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#BA254A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA254A
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA254A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA254A | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504F4A
Deuteranopia (green-blind)
#766D46
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba254a; /* rgb */ color: rgb(186, 37, 74); /* oklch */ color: oklch(52.0% 0.183 13.0);
Tailwind
colors: {
custom: {
50: '#d66f7c',
500: '#ba254a',
950: '#000000',
},
}SCSS
$custom: #ba254a; $custom-light: #d66f7c; $custom-dark: #000000;
JSON
{
"hex": "#ba254a",
"rgb": {
"r": 186,
"g": 37,
"b": 74
},
"hsl": {
"h": 345.101,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.52015,
"c": 0.18338,
"h": 13
},
"luminance": 0.12257
}Semantic roles & 50–950 ramp
primary
#BA254A
secondary
#70CBB4
accent
#EABF3E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B