#BA314B#BA314B
#BA314B is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.173 H 14.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #BA314B |
|---|---|
| RGB | rgb(186, 49, 75) |
| HSL | hsl(349, 58%, 46%) |
| HSV | hsv(349, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 59.7%, 27.1%) |
| CIE-LAB | lab(42.98, 55.61, 17.92) |
| CIE-LCH | lch(42.98, 58.43, 17.86°) |
| OKLab | oklab(53.03% 0.167 0.0441) |
| OKLCH | oklch(53.03% 0.173 14.8) |
| XYZ | xyz(22.6203, 13.1470, 8.0018) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.52
Rose Red
#BE013C
ΔE00 4.08
Lipstick
#D5174E
ΔE00 4.67
Cardinal
#C41E3A
ΔE00 4.69
Dark Rose
#B5485D
ΔE00 4.94
Dusty Red
#B9484E
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA314B #31BAA0
analogous
#BA318F #BA314B #BA5B31
triadic
#BA314B #4BBA31 #314BBA
tetradic
#BA314B #8FBA31 #31BAA0 #5B31BA
square
#BA314B #8FBA31 #31BAA0 #5B31BA
split-complementary
#BA314B #31BA5B #318FBA
monochromatic
#591724 #8A2437 #BA314B #D2566D #DF8697
Accessibility & contrast
On white
5.79
#BA314B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#BA314B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA314B
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA314B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA314B | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#56534B
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#CC023C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba314b; /* rgb */ color: rgb(186, 49, 75); /* oklch */ color: oklch(53.0% 0.173 14.8);
Tailwind
colors: {
custom: {
50: '#d6747d',
500: '#ba314b',
950: '#000000',
},
}SCSS
$custom: #ba314b; $custom-light: #d6747d; $custom-dark: #000000;
JSON
{
"hex": "#ba314b",
"rgb": {
"r": 186,
"g": 49,
"b": 75
},
"hsl": {
"h": 348.613,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53026,
"c": 0.17271,
"h": 14.8
},
"luminance": 0.13144
}Semantic roles & 50–950 ramp
primary
#BA314B
secondary
#7EC9BB
accent
#E2C446
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B