#BA2728#BA2728
#BA2728 is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.6% C 0.183 H 26.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2728 |
|---|---|
| RGB | rgb(186, 39, 40) |
| HSL | hsl(360, 65%, 44%) |
| HSV | hsv(360, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 78.5%, 27.1%) |
| CIE-LAB | lab(41.29, 57.05, 37.01) |
| CIE-LCH | lch(41.29, 68.00, 32.97°) |
| OKLab | oklab(51.59% 0.1643 0.0809) |
| OKLCH | oklch(51.59% 0.183 26.2) |
| XYZ | xyz(21.3608, 12.0468, 3.2076) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.03
Scarlet
#BE0119
ΔE00 2.88
Brown
#A52A2A
ΔE00 4.23
Lipstick Red
#C0022F
ΔE00 4.70
Dull Red
#BB3F3F
ΔE00 5.01
Cherry (survey)
#CF0234
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2728 #27BAB9
analogous
#BA2772 #BA2728 #BA7027
triadic
#BA2728 #28BA27 #2728BA
tetradic
#BA2728 #72BA27 #27BAB9 #7027BA
square
#BA2728 #72BA27 #27BAB9 #7027BA
split-complementary
#BA2728 #27BA70 #2772BA
monochromatic
#551212 #871C1D #BA2728 #D84647 #E37979
Accessibility & contrast
On white
6.16
#BA2728 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#BA2728 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2728
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2728 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2728 | 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)
#554D26
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#CD002A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ba2728; /* rgb */ color: rgb(186, 39, 40); /* oklch */ color: oklch(51.6% 0.183 26.2);
Tailwind
colors: {
custom: {
50: '#d86f63',
500: '#ba2728',
950: '#000000',
},
}SCSS
$custom: #ba2728; $custom-light: #d86f63; $custom-dark: #000000;
JSON
{
"hex": "#ba2728",
"rgb": {
"r": 186,
"g": 39,
"b": 40
},
"hsl": {
"h": 359.592,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.51594,
"c": 0.1831,
"h": 26.2
},
"luminance": 0.12043
}Semantic roles & 50–950 ramp
primary
#BA2728
secondary
#72CBCA
accent
#E8E740
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#170805
muted
#857B79