#BA2127#BA2127
#BA2127 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.2% C 0.187 H 25.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2127 |
|---|---|
| RGB | rgb(186, 33, 39) |
| HSL | hsl(358, 70%, 43%) |
| HSV | hsv(358, 82%, 73%) |
| CMYK | cmyk(0%, 82.3%, 79%, 27.1%) |
| CIE-LAB | lab(40.70, 58.66, 36.96) |
| CIE-LCH | lch(40.70, 69.33, 32.21°) |
| OKLab | oklab(51.15% 0.1691 0.0805) |
| OKLCH | oklch(51.15% 0.187 25.5) |
| XYZ | xyz(21.1624, 11.6768, 3.0586) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.87
Scarlet
#BE0119
ΔE00 2.61
Brown
#A52A2A
ΔE00 3.98
Lipstick Red
#C0022F
ΔE00 4.08
Cherry (survey)
#CF0234
ΔE00 5.26
Dull Red
#BB3F3F
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2127 #21BAB4
analogous
#BA2173 #BA2127 #BA6721
triadic
#BA2127 #27BA21 #2127BA
tetradic
#BA2127 #73BA21 #21BAB4 #6721BA
square
#BA2127 #73BA21 #21BAB4 #6721BA
split-complementary
#BA2127 #21BA67 #2173BA
monochromatic
#520F11 #86181C #BA2127 #DC3C42 #E67074
Accessibility & contrast
On white
6.30
#BA2127 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#BA2127 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2127
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2127 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B25
Deuteranopia (green-blind)
#786C20
Tritanopia (blue-blind)
#CD0026
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ba2127; /* rgb */ color: rgb(186, 33, 39); /* oklch */ color: oklch(51.2% 0.187 25.5);
Tailwind
colors: {
custom: {
50: '#d86d62',
500: '#ba2127',
950: '#000000',
},
}SCSS
$custom: #ba2127; $custom-light: #d86d62; $custom-dark: #000000;
JSON
{
"hex": "#ba2127",
"rgb": {
"r": 186,
"g": 33,
"b": 39
},
"hsl": {
"h": 357.647,
"s": 69.863,
"l": 42.941
},
"oklch": {
"l": 0.51151,
"c": 0.1873,
"h": 25.5
},
"luminance": 0.11673
}Semantic roles & 50–950 ramp
primary
#BA2127
secondary
#6BCCC8
accent
#EDE63B
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#170805
muted
#857B79