#BA272B#BA272B
#BA272B is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.183 H 25.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #BA272B |
|---|---|
| RGB | rgb(186, 39, 43) |
| HSL | hsl(358, 65%, 44%) |
| HSV | hsv(358, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 76.9%, 27.1%) |
| CIE-LAB | lab(41.32, 57.16, 35.32) |
| CIE-LCH | lch(41.32, 67.19, 31.72°) |
| OKLab | oklab(51.63% 0.1652 0.0781) |
| OKLCH | oklch(51.63% 0.183 25.3) |
| XYZ | xyz(21.4138, 12.0680, 3.4869) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.44
Scarlet
#BE0119
ΔE00 3.40
Lipstick Red
#C0022F
ΔE00 3.96
Brown
#A52A2A
ΔE00 4.04
Dull Red
#BB3F3F
ΔE00 4.54
Cardinal
#C41E3A
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA272B #27BAB6
analogous
#BA2775 #BA272B #BA6D27
triadic
#BA272B #2BBA27 #272BBA
tetradic
#BA272B #75BA27 #27BAB6 #6D27BA
square
#BA272B #75BA27 #27BAB6 #6D27BA
split-complementary
#BA272B #27BA6D #2775BA
monochromatic
#551214 #871C1F #BA272B #D8464A #E3797B
Accessibility & contrast
On white
6.15
#BA272B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#BA272B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA272B
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA272B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA272B | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D29
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#CD002B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ba272b; /* rgb */ color: rgb(186, 39, 43); /* oklch */ color: oklch(51.6% 0.183 25.3);
Tailwind
colors: {
custom: {
50: '#d86f65',
500: '#ba272b',
950: '#000000',
},
}SCSS
$custom: #ba272b; $custom-light: #d86f65; $custom-dark: #000000;
JSON
{
"hex": "#ba272b",
"rgb": {
"r": 186,
"g": 39,
"b": 43
},
"hsl": {
"h": 358.367,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.51629,
"c": 0.18277,
"h": 25.3
},
"luminance": 0.12065
}Semantic roles & 50–950 ramp
primary
#BA272B
secondary
#72CBC8
accent
#E8E440
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160805
muted
#847B7A