#BA2F2B#BA2F2B
#BA2F2B is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.3% C 0.177 H 27.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2F2B |
|---|---|
| RGB | rgb(186, 47, 43) |
| HSL | hsl(2, 62%, 45%) |
| HSV | hsv(2, 77%, 73%) |
| CMYK | cmyk(0%, 74.7%, 76.9%, 27.1%) |
| CIE-LAB | lab(42.23, 54.62, 36.30) |
| CIE-LCH | lch(42.23, 65.58, 33.61°) |
| OKLab | oklab(52.3% 0.1572 0.0803) |
| OKLCH | oklch(52.3% 0.177 27) |
| XYZ | xyz(21.7048, 12.6499, 3.5839) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.81
Scarlet
#BE0119
ΔE00 3.74
Dull Red
#BB3F3F
ΔE00 4.36
Brown
#A52A2A
ΔE00 4.73
Reddish
#C44240
ΔE00 5.18
Lipstick Red
#C0022F
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2F2B #2BB6BA
analogous
#BA2B6F #BA2F2B #BA762B
triadic
#BA2F2B #2BBA2F #2F2BBA
tetradic
#BA2F2B #6FBA2B #2BB6BA #762BBA
square
#BA2F2B #6FBA2B #2BB6BA #762BBA
split-complementary
#BA2F2B #2BBA76 #2B6FBA
monochromatic
#571614 #882220 #BA2F2B #D6504C #E1817E
Accessibility & contrast
On white
5.95
#BA2F2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2F2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2F2B
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2F2B | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595029
Deuteranopia (green-blind)
#7B6F25
Tritanopia (blue-blind)
#CD0030
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2f2b; /* rgb */ color: rgb(186, 47, 43); /* oklch */ color: oklch(52.3% 0.177 27.0);
Tailwind
colors: {
custom: {
50: '#d87265',
500: '#ba2f2b',
950: '#000000',
},
}SCSS
$custom: #ba2f2b; $custom-light: #d87265; $custom-dark: #000000;
JSON
{
"hex": "#ba2f2b",
"rgb": {
"r": 186,
"g": 47,
"b": 43
},
"hsl": {
"h": 1.678,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52304,
"c": 0.17651,
"h": 27
},
"luminance": 0.12647
}Semantic roles & 50–950 ramp
primary
#BA2F2B
secondary
#77C7CA
accent
#E1E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A