#BA2729#BA2729
#BA2729 is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.6% C 0.183 H 25.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2729 |
|---|---|
| RGB | rgb(186, 39, 41) |
| HSL | hsl(359, 65%, 44%) |
| HSV | hsv(359, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 78%, 27.1%) |
| CIE-LAB | lab(41.30, 57.09, 36.45) |
| CIE-LCH | lch(41.30, 67.73, 32.56°) |
| OKLab | oklab(51.61% 0.1646 0.08) |
| OKLCH | oklch(51.61% 0.183 25.9) |
| XYZ | xyz(21.3780, 12.0537, 3.2984) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.14
Scarlet
#BE0119
ΔE00 3.03
Brown
#A52A2A
ΔE00 4.15
Lipstick Red
#C0022F
ΔE00 4.45
Dull Red
#BB3F3F
ΔE00 4.85
Cherry (survey)
#CF0234
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2729 #27BAB8
analogous
#BA2773 #BA2729 #BA6F27
triadic
#BA2729 #29BA27 #2729BA
tetradic
#BA2729 #73BA27 #27BAB8 #6F27BA
square
#BA2729 #73BA27 #27BAB8 #6F27BA
split-complementary
#BA2729 #27BA6F #2773BA
monochromatic
#551213 #871C1E #BA2729 #D84648 #E3797A
Accessibility & contrast
On white
6.16
#BA2729 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#BA2729 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2729
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2729 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2729 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D27
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#CD002A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ba2729; /* rgb */ color: rgb(186, 39, 41); /* oklch */ color: oklch(51.6% 0.183 25.9);
Tailwind
colors: {
custom: {
50: '#d86f63',
500: '#ba2729',
950: '#000000',
},
}SCSS
$custom: #ba2729; $custom-light: #d86f63; $custom-dark: #000000;
JSON
{
"hex": "#ba2729",
"rgb": {
"r": 186,
"g": 39,
"b": 41
},
"hsl": {
"h": 359.184,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.51605,
"c": 0.18299,
"h": 25.9
},
"luminance": 0.1205
}Semantic roles & 50–950 ramp
primary
#BA2729
secondary
#72CBC9
accent
#E8E640
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#160805
muted
#847B79