#BA272A#BA272A
#BA272A is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.183 H 25.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #BA272A |
|---|---|
| RGB | rgb(186, 39, 42) |
| HSL | hsl(359, 65%, 44%) |
| HSV | hsv(359, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 77.4%, 27.1%) |
| CIE-LAB | lab(41.31, 57.12, 35.89) |
| CIE-LCH | lch(41.31, 67.46, 32.14°) |
| OKLab | oklab(51.62% 0.1649 0.0791) |
| OKLCH | oklch(51.62% 0.183 25.6) |
| XYZ | xyz(21.3957, 12.0607, 3.3914) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.28
Scarlet
#BE0119
ΔE00 3.21
Brown
#A52A2A
ΔE00 4.09
Lipstick Red
#C0022F
ΔE00 4.20
Dull Red
#BB3F3F
ΔE00 4.69
Cherry (survey)
#CF0234
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA272A #27BAB7
analogous
#BA2773 #BA272A #BA6E27
triadic
#BA272A #2ABA27 #272ABA
tetradic
#BA272A #73BA27 #27BAB7 #6E27BA
square
#BA272A #73BA27 #27BAB7 #6E27BA
split-complementary
#BA272A #27BA6E #2773BA
monochromatic
#551213 #871C1F #BA272A #D84649 #E3797B
Accessibility & contrast
On white
6.16
#BA272A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#BA272A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA272A
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA272A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA272A | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D28
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#CD002A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ba272a; /* rgb */ color: rgb(186, 39, 42); /* oklch */ color: oklch(51.6% 0.183 25.6);
Tailwind
colors: {
custom: {
50: '#d86f64',
500: '#ba272a',
950: '#000000',
},
}SCSS
$custom: #ba272a; $custom-light: #d86f64; $custom-dark: #000000;
JSON
{
"hex": "#ba272a",
"rgb": {
"r": 186,
"g": 39,
"b": 42
},
"hsl": {
"h": 358.776,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.51617,
"c": 0.18288,
"h": 25.6
},
"luminance": 0.12057
}Semantic roles & 50–950 ramp
primary
#BA272A
secondary
#72CBC9
accent
#E8E540
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160805
muted
#847B7A