#BA272C#BA272C
#BA272C is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.183 H 25.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #BA272C |
|---|---|
| RGB | rgb(186, 39, 44) |
| HSL | hsl(358, 65%, 44%) |
| HSV | hsv(358, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 76.3%, 27.1%) |
| CIE-LAB | lab(41.34, 57.20, 34.75) |
| CIE-LCH | lch(41.34, 66.93, 31.28°) |
| OKLab | oklab(51.64% 0.1656 0.0772) |
| OKLCH | oklch(51.64% 0.183 25) |
| XYZ | xyz(21.4324, 12.0754, 3.5847) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.63
Scarlet
#BE0119
ΔE00 3.61
Lipstick Red
#C0022F
ΔE00 3.73
Brown
#A52A2A
ΔE00 4.02
Dull Red
#BB3F3F
ΔE00 4.41
Cardinal
#C41E3A
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA272C #27BAB5
analogous
#BA2776 #BA272C #BA6C27
triadic
#BA272C #2CBA27 #272CBA
tetradic
#BA272C #76BA27 #27BAB5 #6C27BA
square
#BA272C #76BA27 #27BAB5 #6C27BA
split-complementary
#BA272C #27BA6C #2776BA
monochromatic
#551214 #871C20 #BA272C #D8464B #E3797C
Accessibility & contrast
On white
6.15
#BA272C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#BA272C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA272C
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA272C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA272C | 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)
#554D2A
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#CD002B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ba272c; /* rgb */ color: rgb(186, 39, 44); /* oklch */ color: oklch(51.6% 0.183 25.0);
Tailwind
colors: {
custom: {
50: '#d86f65',
500: '#ba272c',
950: '#000000',
},
}SCSS
$custom: #ba272c; $custom-light: #d86f65; $custom-dark: #000000;
JSON
{
"hex": "#ba272c",
"rgb": {
"r": 186,
"g": 39,
"b": 44
},
"hsl": {
"h": 357.959,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.51642,
"c": 0.18266,
"h": 25
},
"luminance": 0.12072
}Semantic roles & 50–950 ramp
primary
#BA272C
secondary
#72CBC8
accent
#E8E340
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160805
muted
#847B7A