#BA3039#BA3039
#BA3039 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.6% C 0.174 H 22.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3039 |
|---|---|
| RGB | rgb(186, 48, 57) |
| HSL | hsl(356, 59%, 46%) |
| HSV | hsv(356, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 69.4%, 27.1%) |
| CIE-LAB | lab(42.54, 54.89, 28.41) |
| CIE-LCH | lch(42.54, 61.81, 27.37°) |
| OKLab | oklab(52.59% 0.1611 0.066) |
| OKLCH | oklch(52.59% 0.174 22.3) |
| XYZ | xyz(22.0476, 12.8518, 5.1898) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.61
Dull Red
#BB3F3F
ΔE00 2.78
Lipstick Red
#C0022F
ΔE00 3.46
Cherry (survey)
#CF0234
ΔE00 3.92
Reddish
#C44240
ΔE00 4.57
Dusty Red
#B9484E
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3039 #30BAB1
analogous
#BA307E #BA3039 #BA6C30
triadic
#BA3039 #39BA30 #3039BA
tetradic
#BA3039 #7EBA30 #30BAB1 #6C30BA
square
#BA3039 #7EBA30 #30BAB1 #6C30BA
split-complementary
#BA3039 #30BA6C #307EBA
monochromatic
#59171B #89232A #BA3039 #D3545D #DF858B
Accessibility & contrast
On white
5.88
#BA3039 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BA3039 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3039
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3039 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3039 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585238
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba3039; /* rgb */ color: rgb(186, 48, 57); /* oklch */ color: oklch(52.6% 0.174 22.3);
Tailwind
colors: {
custom: {
50: '#d7736f',
500: '#ba3039',
950: '#000000',
},
}SCSS
$custom: #ba3039; $custom-light: #d7736f; $custom-dark: #000000;
JSON
{
"hex": "#ba3039",
"rgb": {
"r": 186,
"g": 48,
"b": 57
},
"hsl": {
"h": 356.087,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.52593,
"c": 0.17409,
"h": 22.3
},
"luminance": 0.12848
}Semantic roles & 50–950 ramp
primary
#BA3039
secondary
#7DC9C4
accent
#E2D846
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A