#BA2B30#BA2B30
#BA2B30 is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.0% C 0.179 H 24.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B30 |
|---|---|
| RGB | rgb(186, 43, 48) |
| HSL | hsl(358, 62%, 45%) |
| HSV | hsv(358, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 74.2%, 27.1%) |
| CIE-LAB | lab(41.82, 56.13, 32.95) |
| CIE-LCH | lch(41.82, 65.09, 30.41°) |
| OKLab | oklab(52.02% 0.1631 0.0742) |
| OKLCH | oklch(52.02% 0.179 24.5) |
| XYZ | xyz(21.6496, 12.3836, 4.0461) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.37
Lipstick Red
#C0022F
ΔE00 3.57
Dull Red
#BB3F3F
ΔE00 3.67
Cardinal
#C41E3A
ΔE00 4.04
Brown
#A52A2A
ΔE00 4.23
Cherry (survey)
#CF0234
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B30 #2BBAB5
analogous
#BA2B78 #BA2B30 #BA6D2B
triadic
#BA2B30 #30BA2B #2B30BA
tetradic
#BA2B30 #78BA2B #2BBAB5 #6D2BBA
square
#BA2B30 #78BA2B #2BBAB5 #6D2BBA
split-complementary
#BA2B30 #2BBA6D #2B78BA
monochromatic
#571416 #882023 #BA2B30 #D64C51 #E17E82
Accessibility & contrast
On white
6.04
#BA2B30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#BA2B30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B30
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B30 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564F2F
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2b30; /* rgb */ color: rgb(186, 43, 48); /* oklch */ color: oklch(52.0% 0.179 24.5);
Tailwind
colors: {
custom: {
50: '#d87168',
500: '#ba2b30',
950: '#000000',
},
}SCSS
$custom: #ba2b30; $custom-light: #d87168; $custom-dark: #000000;
JSON
{
"hex": "#ba2b30",
"rgb": {
"r": 186,
"g": 43,
"b": 48
},
"hsl": {
"h": 357.902,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52017,
"c": 0.17918,
"h": 24.5
},
"luminance": 0.1238
}Semantic roles & 50–950 ramp
primary
#BA2B30
secondary
#77CAC7
accent
#E6E042
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A