#BA3034#BA3034
#BA3034 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.5% C 0.175 H 24.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3034 |
|---|---|
| RGB | rgb(186, 48, 52) |
| HSL | hsl(358, 59%, 46%) |
| HSV | hsv(358, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 72%, 27.1%) |
| CIE-LAB | lab(42.47, 54.65, 31.33) |
| CIE-LCH | lch(42.47, 62.99, 29.82°) |
| OKLab | oklab(52.52% 0.1593 0.0715) |
| OKLCH | oklch(52.52% 0.175 24.2) |
| XYZ | xyz(21.9290, 12.8043, 4.5650) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.82
Cardinal
#C41E3A
ΔE00 3.75
Lipstick Red
#C0022F
ΔE00 3.87
Firebrick
#B22222
ΔE00 4.15
Cherry (survey)
#CF0234
ΔE00 4.33
Reddish
#C44240
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3034 #30BAB6
analogous
#BA3079 #BA3034 #BA7130
triadic
#BA3034 #34BA30 #3034BA
tetradic
#BA3034 #79BA30 #30BAB6 #7130BA
square
#BA3034 #79BA30 #30BAB6 #7130BA
split-complementary
#BA3034 #30BA71 #3079BA
monochromatic
#591719 #892326 #BA3034 #D35458 #DF8588
Accessibility & contrast
On white
5.90
#BA3034 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#BA3034 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3034
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3034 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3034 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595133
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba3034; /* rgb */ color: rgb(186, 48, 52); /* oklch */ color: oklch(52.5% 0.175 24.2);
Tailwind
colors: {
custom: {
50: '#d7736b',
500: '#ba3034',
950: '#000000',
},
}SCSS
$custom: #ba3034; $custom-light: #d7736b; $custom-dark: #000000;
JSON
{
"hex": "#ba3034",
"rgb": {
"r": 186,
"g": 48,
"b": 52
},
"hsl": {
"h": 358.261,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.52516,
"c": 0.17457,
"h": 24.2
},
"luminance": 0.12801
}Semantic roles & 50–950 ramp
primary
#BA3034
secondary
#7DC9C7
accent
#E2DE46
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A