#BA304F#BA304F
#BA304F is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.174 H 12.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #BA304F |
|---|---|
| RGB | rgb(186, 48, 79) |
| HSL | hsl(347, 59%, 46%) |
| HSV | hsv(347, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 57.5%, 27.1%) |
| CIE-LAB | lab(42.94, 56.24, 15.38) |
| CIE-LCH | lch(42.94, 58.30, 15.30°) |
| OKLab | oklab(53.03% 0.1697 0.0383) |
| OKLCH | oklch(53.03% 0.174 12.7) |
| XYZ | xyz(22.7201, 13.1208, 8.7318) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.59
Dark Rose
#B5485D
ΔE00 4.46
Rose Red
#BE013C
ΔE00 4.69
Lipstick
#D5174E
ΔE00 4.76
Light Burgundy
#A8415B
ΔE00 5.06
Light Maroon
#A24857
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA304F #30BA9B
analogous
#BA3094 #BA304F #BA5630
triadic
#BA304F #4FBA30 #304FBA
tetradic
#BA304F #94BA30 #30BA9B #5630BA
square
#BA304F #94BA30 #30BA9B #5630BA
split-complementary
#BA304F #30BA56 #3094BA
monochromatic
#591726 #89233A #BA304F #D35471 #DF8599
Accessibility & contrast
On white
5.80
#BA304F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#BA304F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA304F
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA304F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA304F | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55534F
Deuteranopia (green-blind)
#78704B
Tritanopia (blue-blind)
#CB023D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba304f; /* rgb */ color: rgb(186, 48, 79); /* oklch */ color: oklch(53.0% 0.174 12.7);
Tailwind
colors: {
custom: {
50: '#d57480',
500: '#ba304f',
950: '#000000',
},
}SCSS
$custom: #ba304f; $custom-light: #d57480; $custom-dark: #000000;
JSON
{
"hex": "#ba304f",
"rgb": {
"r": 186,
"g": 48,
"b": 79
},
"hsl": {
"h": 346.522,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.53025,
"c": 0.17395,
"h": 12.7
},
"luminance": 0.13118
}Semantic roles & 50–950 ramp
primary
#BA304F
secondary
#7DC9B8
accent
#E2BF46
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C