#BA3230#BA3230
#BA3230 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.173 H 26.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3230 |
|---|---|
| RGB | rgb(186, 50, 48) |
| HSL | hsl(1, 59%, 46%) |
| HSV | hsv(1, 74%, 73%) |
| CMYK | cmyk(0%, 73.1%, 74.2%, 27.1%) |
| CIE-LAB | lab(42.67, 53.77, 33.91) |
| CIE-LCH | lch(42.67, 63.57, 32.24°) |
| OKLab | oklab(52.65% 0.1556 0.0763) |
| OKLCH | oklch(52.65% 0.173 26.1) |
| XYZ | xyz(21.9263, 12.9371, 4.1383) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.32
Firebrick
#B22222
ΔE00 3.49
Reddish
#C44240
ΔE00 4.38
Scarlet
#BE0119
ΔE00 4.57
Brown
#A52A2A
ΔE00 4.76
Lipstick Red
#C0022F
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3230 #30B8BA
analogous
#BA3073 #BA3230 #BA7730
triadic
#BA3230 #30BA32 #3230BA
tetradic
#BA3230 #73BA30 #30B8BA #7730BA
square
#BA3230 #73BA30 #30B8BA #7730BA
split-complementary
#BA3230 #30BA77 #3073BA
monochromatic
#591817 #892523 #BA3230 #D35654 #DF8685
Accessibility & contrast
On white
5.85
#BA3230 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#BA3230 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3230
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3230 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3230 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522E
Deuteranopia (green-blind)
#7C6F2B
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3230; /* rgb */ color: rgb(186, 50, 48); /* oklch */ color: oklch(52.6% 0.173 26.1);
Tailwind
colors: {
custom: {
50: '#d77469',
500: '#ba3230',
950: '#000000',
},
}SCSS
$custom: #ba3230; $custom-light: #d77469; $custom-dark: #000000;
JSON
{
"hex": "#ba3230",
"rgb": {
"r": 186,
"g": 50,
"b": 48
},
"hsl": {
"h": 0.87,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.52649,
"c": 0.1733,
"h": 26.1
},
"luminance": 0.12934
}Semantic roles & 50–950 ramp
primary
#BA3230
secondary
#7DC8C9
accent
#E0E246
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A