#BA3830#BA3830
#BA3830 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.3% C 0.168 H 27.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3830 |
|---|---|
| RGB | rgb(186, 56, 48) |
| HSL | hsl(3, 59%, 46%) |
| HSV | hsv(3, 74%, 73%) |
| CMYK | cmyk(0%, 69.9%, 74.2%, 27.1%) |
| CIE-LAB | lab(43.48, 51.53, 34.82) |
| CIE-LCH | lch(43.48, 62.19, 34.05°) |
| OKLab | oklab(53.26% 0.1485 0.0783) |
| OKLCH | oklch(53.26% 0.168 27.8) |
| XYZ | xyz(22.1999, 13.4842, 4.2295) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.56
Firebrick
#B22222
ΔE00 4.13
Reddish
#C44240
ΔE00 4.14
Scarlet
#BE0119
ΔE00 5.13
Brown
#A52A2A
ΔE00 5.59
Brick
#A03623
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3830 #30B2BA
analogous
#BA306D #BA3830 #BA7D30
triadic
#BA3830 #30BA38 #3830BA
tetradic
#BA3830 #6DBA30 #30B2BA #7D30BA
square
#BA3830 #6DBA30 #30B2BA #7D30BA
split-complementary
#BA3830 #30BA7D #306DBA
monochromatic
#591B17 #892923 #BA3830 #D35C54 #DF8A85
Accessibility & contrast
On white
5.68
#BA3830 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#BA3830 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3830
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3830 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3830 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D552E
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#CD0937
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3830; /* rgb */ color: rgb(186, 56, 48); /* oklch */ color: oklch(53.3% 0.168 27.8);
Tailwind
colors: {
custom: {
50: '#d77769',
500: '#ba3830',
950: '#000000',
},
}SCSS
$custom: #ba3830; $custom-light: #d77769; $custom-dark: #000000;
JSON
{
"hex": "#ba3830",
"rgb": {
"r": 186,
"g": 56,
"b": 48
},
"hsl": {
"h": 3.478,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.53258,
"c": 0.1679,
"h": 27.8
},
"luminance": 0.13481
}Semantic roles & 50–950 ramp
primary
#BA3830
secondary
#7DC5C9
accent
#D9E246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A