#BA304C#BA304C
#BA304C is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.174 H 14.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA304C |
|---|---|
| RGB | rgb(186, 48, 76) |
| HSL | hsl(348, 59%, 46%) |
| HSV | hsv(348, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 59.1%, 27.1%) |
| CIE-LAB | lab(42.88, 56.03, 17.16) |
| CIE-LCH | lch(42.88, 58.60, 17.03°) |
| OKLab | oklab(52.96% 0.1685 0.0423) |
| OKLCH | oklch(52.96% 0.174 14.1) |
| XYZ | xyz(22.6134, 13.0781, 8.1697) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.42
Rose Red
#BE013C
ΔE00 4.14
Lipstick
#D5174E
ΔE00 4.66
Dark Rose
#B5485D
ΔE00 4.84
Cardinal
#C41E3A
ΔE00 5.06
Dusty Red
#B9484E
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA304C #30BA9E
analogous
#BA3091 #BA304C #BA5930
triadic
#BA304C #4CBA30 #304CBA
tetradic
#BA304C #91BA30 #30BA9E #5930BA
square
#BA304C #91BA30 #30BA9E #5930BA
split-complementary
#BA304C #30BA59 #3091BA
monochromatic
#591724 #892338 #BA304C #D3546E #DF8597
Accessibility & contrast
On white
5.81
#BA304C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#BA304C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA304C
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA304C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA304C | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55534C
Deuteranopia (green-blind)
#787048
Tritanopia (blue-blind)
#CC003C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba304c; /* rgb */ color: rgb(186, 48, 76); /* oklch */ color: oklch(53.0% 0.174 14.1);
Tailwind
colors: {
custom: {
50: '#d6747d',
500: '#ba304c',
950: '#000000',
},
}SCSS
$custom: #ba304c; $custom-light: #d6747d; $custom-dark: #000000;
JSON
{
"hex": "#ba304c",
"rgb": {
"r": 186,
"g": 48,
"b": 76
},
"hsl": {
"h": 347.826,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.52957,
"c": 0.17374,
"h": 14.1
},
"luminance": 0.13075
}Semantic roles & 50–950 ramp
primary
#BA304C
secondary
#7DC9B9
accent
#E2C246
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B