#BA313C#BA313C
#BA313C is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.7% C 0.173 H 21.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BA313C |
|---|---|
| RGB | rgb(186, 49, 60) |
| HSL | hsl(355, 58%, 46%) |
| HSV | hsv(355, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 67.7%, 27.1%) |
| CIE-LAB | lab(42.71, 54.70, 26.81) |
| CIE-LCH | lch(42.71, 60.92, 26.11°) |
| OKLab | oklab(52.74% 0.1611 0.0629) |
| OKLCH | oklch(52.74% 0.173 21.3) |
| XYZ | xyz(22.1660, 12.9653, 5.6095) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.33
Dull Red
#BB3F3F
ΔE00 2.93
Lipstick Red
#C0022F
ΔE00 3.67
Cherry (survey)
#CF0234
ΔE00 4.01
Dusty Red
#B9484E
ΔE00 4.67
Reddish
#C44240
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA313C #31BAAF
analogous
#BA3180 #BA313C #BA6A31
triadic
#BA313C #3CBA31 #313CBA
tetradic
#BA313C #80BA31 #31BAAF #6A31BA
square
#BA313C #80BA31 #31BAAF #6A31BA
split-complementary
#BA313C #31BA6A #3180BA
monochromatic
#59171D #8A242C #BA313C #D25660 #DF868D
Accessibility & contrast
On white
5.85
#BA313C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#BA313C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA313C
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA313C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA313C | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58523B
Deuteranopia (green-blind)
#7B6F38
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba313c; /* rgb */ color: rgb(186, 49, 60); /* oklch */ color: oklch(52.7% 0.173 21.3);
Tailwind
colors: {
custom: {
50: '#d77471',
500: '#ba313c',
950: '#000000',
},
}SCSS
$custom: #ba313c; $custom-light: #d77471; $custom-dark: #000000;
JSON
{
"hex": "#ba313c",
"rgb": {
"r": 186,
"g": 49,
"b": 60
},
"hsl": {
"h": 355.182,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.52735,
"c": 0.17296,
"h": 21.3
},
"luminance": 0.12962
}Semantic roles & 50–950 ramp
primary
#BA313C
secondary
#7EC9C3
accent
#E2D546
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A