#BA304A#BA304A
#BA304A is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.9% C 0.174 H 15.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BA304A |
|---|---|
| RGB | rgb(186, 48, 74) |
| HSL | hsl(349, 59%, 46%) |
| HSV | hsv(349, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 60.2%, 27.1%) |
| CIE-LAB | lab(42.84, 55.89, 18.35) |
| CIE-LCH | lch(42.84, 58.83, 18.18°) |
| OKLab | oklab(52.91% 0.1677 0.045) |
| OKLCH | oklch(52.91% 0.174 15) |
| XYZ | xyz(22.5450, 13.0507, 7.8091) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.45
Rose Red
#BE013C
ΔE00 3.86
Cardinal
#C41E3A
ΔE00 4.49
Lipstick
#D5174E
ΔE00 4.69
Dusty Red
#B9484E
ΔE00 5.11
Dark Rose
#B5485D
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA304A #30BAA0
analogous
#BA308F #BA304A #BA5B30
triadic
#BA304A #4ABA30 #304ABA
tetradic
#BA304A #8FBA30 #30BAA0 #5B30BA
square
#BA304A #8FBA30 #30BAA0 #5B30BA
split-complementary
#BA304A #30BA5B #308FBA
monochromatic
#591723 #892337 #BA304A #D3546C #DF8596
Accessibility & contrast
On white
5.82
#BA304A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA304A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA304A
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA304A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA304A | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55534A
Deuteranopia (green-blind)
#797046
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba304a; /* rgb */ color: rgb(186, 48, 74); /* oklch */ color: oklch(52.9% 0.174 15.0);
Tailwind
colors: {
custom: {
50: '#d6747c',
500: '#ba304a',
950: '#000000',
},
}SCSS
$custom: #ba304a; $custom-light: #d6747c; $custom-dark: #000000;
JSON
{
"hex": "#ba304a",
"rgb": {
"r": 186,
"g": 48,
"b": 74
},
"hsl": {
"h": 348.696,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.52913,
"c": 0.17364,
"h": 15
},
"luminance": 0.13047
}Semantic roles & 50–950 ramp
primary
#BA304A
secondary
#7DC9BB
accent
#E2C546
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B