#BA272D#BA272D
#BA272D is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.7% C 0.183 H 24.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #BA272D |
|---|---|
| RGB | rgb(186, 39, 45) |
| HSL | hsl(358, 65%, 44%) |
| HSV | hsv(358, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 75.8%, 27.1%) |
| CIE-LAB | lab(41.35, 57.23, 34.18) |
| CIE-LCH | lch(41.35, 66.66, 30.85°) |
| OKLab | oklab(51.65% 0.1659 0.0762) |
| OKLCH | oklch(51.65% 0.183 24.7) |
| XYZ | xyz(21.4514, 12.0830, 3.6849) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.84
Lipstick Red
#C0022F
ΔE00 3.50
Scarlet
#BE0119
ΔE00 3.83
Brown
#A52A2A
ΔE00 4.01
Dull Red
#BB3F3F
ΔE00 4.29
Cardinal
#C41E3A
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA272D #27BAB4
analogous
#BA2777 #BA272D #BA6B27
triadic
#BA272D #2DBA27 #272DBA
tetradic
#BA272D #77BA27 #27BAB4 #6B27BA
square
#BA272D #77BA27 #27BAB4 #6B27BA
split-complementary
#BA272D #27BA6B #2777BA
monochromatic
#551215 #871C21 #BA272D #D8464C #E3797D
Accessibility & contrast
On white
6.15
#BA272D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#BA272D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA272D
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA272D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA272D | 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)
#554D2C
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#CD002B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ba272d; /* rgb */ color: rgb(186, 39, 45); /* oklch */ color: oklch(51.7% 0.183 24.7);
Tailwind
colors: {
custom: {
50: '#d86f66',
500: '#ba272d',
950: '#000000',
},
}SCSS
$custom: #ba272d; $custom-light: #d86f66; $custom-dark: #000000;
JSON
{
"hex": "#ba272d",
"rgb": {
"r": 186,
"g": 39,
"b": 45
},
"hsl": {
"h": 357.551,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.51655,
"c": 0.18255,
"h": 24.7
},
"luminance": 0.1208
}Semantic roles & 50–950 ramp
primary
#BA272D
secondary
#72CBC7
accent
#E8E140
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A