#BA2C30#BA2C30
#BA2C30 is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.1% C 0.178 H 24.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2C30 |
|---|---|
| RGB | rgb(186, 44, 48) |
| HSL | hsl(358, 62%, 45%) |
| HSV | hsv(358, 76%, 73%) |
| CMYK | cmyk(0%, 76.3%, 74.2%, 27.1%) |
| CIE-LAB | lab(41.93, 55.81, 33.08) |
| CIE-LCH | lch(41.93, 64.88, 30.65°) |
| OKLab | oklab(52.1% 0.1621 0.0745) |
| OKLCH | oklch(52.1% 0.178 24.7) |
| XYZ | xyz(21.6864, 12.4573, 4.0583) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.35
Dull Red
#BB3F3F
ΔE00 3.59
Lipstick Red
#C0022F
ΔE00 3.76
Cardinal
#C41E3A
ΔE00 4.18
Brown
#A52A2A
ΔE00 4.27
Scarlet
#BE0119
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2C30 #2CBAB6
analogous
#BA2C77 #BA2C30 #BA6F2C
triadic
#BA2C30 #30BA2C #2C30BA
tetradic
#BA2C30 #77BA2C #2CBAB6 #6F2CBA
square
#BA2C30 #77BA2C #2CBAB6 #6F2CBA
split-complementary
#BA2C30 #2CBA6F #2C77BA
monochromatic
#571516 #892023 #BA2C30 #D54E52 #E18082
Accessibility & contrast
On white
6.02
#BA2C30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#BA2C30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2C30
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2C30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2C30 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2F
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2c30; /* rgb */ color: rgb(186, 44, 48); /* oklch */ color: oklch(52.1% 0.178 24.7);
Tailwind
colors: {
custom: {
50: '#d87168',
500: '#ba2c30',
950: '#000000',
},
}SCSS
$custom: #ba2c30; $custom-light: #d87168; $custom-dark: #000000;
JSON
{
"hex": "#ba2c30",
"rgb": {
"r": 186,
"g": 44,
"b": 48
},
"hsl": {
"h": 358.31,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.52102,
"c": 0.17836,
"h": 24.7
},
"luminance": 0.12454
}Semantic roles & 50–950 ramp
primary
#BA2C30
secondary
#78CAC7
accent
#E5E043
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A