#BA314A#BA314A
#BA314A is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.173 H 15.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #BA314A |
|---|---|
| RGB | rgb(186, 49, 74) |
| HSL | hsl(349, 58%, 46%) |
| HSV | hsv(349, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 60.2%, 27.1%) |
| CIE-LAB | lab(42.96, 55.55, 18.52) |
| CIE-LCH | lch(42.96, 58.55, 18.44°) |
| OKLab | oklab(53.01% 0.1666 0.0454) |
| OKLCH | oklch(53.01% 0.173 15.2) |
| XYZ | xyz(22.5863, 13.1334, 7.8229) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.56
Rose Red
#BE013C
ΔE00 3.96
Cardinal
#C41E3A
ΔE00 4.41
Lipstick
#D5174E
ΔE00 4.70
Dusty Red
#B9484E
ΔE00 4.92
Dark Rose
#B5485D
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA314A #31BAA1
analogous
#BA318E #BA314A #BA5C31
triadic
#BA314A #4ABA31 #314ABA
tetradic
#BA314A #8EBA31 #31BAA1 #5C31BA
square
#BA314A #8EBA31 #31BAA1 #5C31BA
split-complementary
#BA314A #31BA5C #318EBA
monochromatic
#591723 #8A2437 #BA314A #D2566D #DF8696
Accessibility & contrast
On white
5.79
#BA314A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#BA314A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA314A
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA314A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA314A | 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)
#56534A
Deuteranopia (green-blind)
#797046
Tritanopia (blue-blind)
#CC013B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba314a; /* rgb */ color: rgb(186, 49, 74); /* oklch */ color: oklch(53.0% 0.173 15.2);
Tailwind
colors: {
custom: {
50: '#d6747c',
500: '#ba314a',
950: '#000000',
},
}SCSS
$custom: #ba314a; $custom-light: #d6747c; $custom-dark: #000000;
JSON
{
"hex": "#ba314a",
"rgb": {
"r": 186,
"g": 49,
"b": 74
},
"hsl": {
"h": 349.051,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53005,
"c": 0.17268,
"h": 15.2
},
"luminance": 0.1313
}Semantic roles & 50–950 ramp
primary
#BA314A
secondary
#7EC9BB
accent
#E2C546
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B