#BA272E#BA272E
#BA272E is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.7% C 0.182 H 24.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #BA272E |
|---|---|
| RGB | rgb(186, 39, 46) |
| HSL | hsl(357, 65%, 44%) |
| HSV | hsv(357, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 75.3%, 27.1%) |
| CIE-LAB | lab(41.36, 57.27, 33.61) |
| CIE-LCH | lch(41.36, 66.41, 30.41°) |
| OKLab | oklab(51.67% 0.1662 0.0752) |
| OKLCH | oklch(51.67% 0.182 24.3) |
| XYZ | xyz(21.4709, 12.0908, 3.7875) |
| Luminance | 0.1209 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.06
Lipstick Red
#C0022F
ΔE00 3.28
Brown
#A52A2A
ΔE00 4.03
Scarlet
#BE0119
ΔE00 4.06
Cardinal
#C41E3A
ΔE00 4.09
Dull Red
#BB3F3F
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA272E #27BAB3
analogous
#BA2778 #BA272E #BA6A27
triadic
#BA272E #2EBA27 #272EBA
tetradic
#BA272E #78BA27 #27BAB3 #6A27BA
square
#BA272E #78BA27 #27BAB3 #6A27BA
split-complementary
#BA272E #27BA6A #2778BA
monochromatic
#551215 #871C21 #BA272E #D8464D #E3797E
Accessibility & contrast
On white
6.15
#BA272E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#BA272E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA272E
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA272E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA272E | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2D
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#CD002B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba272e; /* rgb */ color: rgb(186, 39, 46); /* oklch */ color: oklch(51.7% 0.182 24.3);
Tailwind
colors: {
custom: {
50: '#d86f67',
500: '#ba272e',
950: '#000000',
},
}SCSS
$custom: #ba272e; $custom-light: #d86f67; $custom-dark: #000000;
JSON
{
"hex": "#ba272e",
"rgb": {
"r": 186,
"g": 39,
"b": 46
},
"hsl": {
"h": 357.143,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.51668,
"c": 0.18245,
"h": 24.3
},
"luminance": 0.12087
}Semantic roles & 50–950 ramp
primary
#BA272E
secondary
#72CBC6
accent
#E8E040
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A