#BA3038#BA3038
#BA3038 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.6% C 0.174 H 22.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3038 |
|---|---|
| RGB | rgb(186, 48, 56) |
| HSL | hsl(357, 59%, 46%) |
| HSV | hsv(357, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 69.9%, 27.1%) |
| CIE-LAB | lab(42.52, 54.84, 29.00) |
| CIE-LCH | lch(42.52, 62.04, 27.87°) |
| OKLab | oklab(52.58% 0.1607 0.0671) |
| OKLCH | oklch(52.58% 0.174 22.7) |
| XYZ | xyz(22.0229, 12.8419, 5.0597) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.72
Cardinal
#C41E3A
ΔE00 2.81
Lipstick Red
#C0022F
ΔE00 3.49
Cherry (survey)
#CF0234
ΔE00 3.95
Reddish
#C44240
ΔE00 4.49
Brown
#A52A2A
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3038 #30BAB2
analogous
#BA307D #BA3038 #BA6D30
triadic
#BA3038 #38BA30 #3038BA
tetradic
#BA3038 #7DBA30 #30BAB2 #6D30BA
square
#BA3038 #7DBA30 #30BAB2 #6D30BA
split-complementary
#BA3038 #30BA6D #307DBA
monochromatic
#59171B #892329 #BA3038 #D3545C #DF858A
Accessibility & contrast
On white
5.89
#BA3038 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BA3038 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3038
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3038 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585237
Deuteranopia (green-blind)
#7B6F34
Tritanopia (blue-blind)
#CC0034
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba3038; /* rgb */ color: rgb(186, 48, 56); /* oklch */ color: oklch(52.6% 0.174 22.7);
Tailwind
colors: {
custom: {
50: '#d7736e',
500: '#ba3038',
950: '#000000',
},
}SCSS
$custom: #ba3038; $custom-light: #d7736e; $custom-dark: #000000;
JSON
{
"hex": "#ba3038",
"rgb": {
"r": 186,
"g": 48,
"b": 56
},
"hsl": {
"h": 356.522,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.52577,
"c": 0.17418,
"h": 22.7
},
"luminance": 0.12839
}Semantic roles & 50–950 ramp
primary
#BA3038
secondary
#7DC9C5
accent
#E2D946
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A