#BA2F3D#BA2F3D
#BA2F3D is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.6% C 0.175 H 20.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2F3D |
|---|---|
| RGB | rgb(186, 47, 61) |
| HSL | hsl(354, 60%, 46%) |
| HSV | hsv(354, 75%, 73%) |
| CMYK | cmyk(0%, 74.7%, 67.2%, 27.1%) |
| CIE-LAB | lab(42.48, 55.44, 25.91) |
| CIE-LCH | lch(42.48, 61.20, 25.05°) |
| OKLab | oklab(52.57% 0.1637 0.061) |
| OKLCH | oklch(52.57% 0.175 20.4) |
| XYZ | xyz(22.1109, 12.8124, 5.7228) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.05
Dull Red
#BB3F3F
ΔE00 3.51
Lipstick Red
#C0022F
ΔE00 3.56
Cherry (survey)
#CF0234
ΔE00 4.03
Rose Red
#BE013C
ΔE00 4.35
Dusty Red
#B9484E
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2F3D #2FBAAC
analogous
#BA2F82 #BA2F3D #BA662F
triadic
#BA2F3D #3DBA2F #2F3DBA
tetradic
#BA2F3D #82BA2F #2FBAAC #662FBA
square
#BA2F3D #82BA2F #2FBAAC #662FBA
split-complementary
#BA2F3D #2FBA66 #2F82BA
monochromatic
#58161D #89232D #BA2F3D #D35360 #E0848D
Accessibility & contrast
On white
5.90
#BA2F3D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#BA2F3D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2F3D
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2F3D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2F3D | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57513C
Deuteranopia (green-blind)
#7A6F39
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2f3d; /* rgb */ color: rgb(186, 47, 61); /* oklch */ color: oklch(52.6% 0.175 20.4);
Tailwind
colors: {
custom: {
50: '#d77372',
500: '#ba2f3d',
950: '#000000',
},
}SCSS
$custom: #ba2f3d; $custom-light: #d77372; $custom-dark: #000000;
JSON
{
"hex": "#ba2f3d",
"rgb": {
"r": 186,
"g": 47,
"b": 61
},
"hsl": {
"h": 353.957,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.52568,
"c": 0.17471,
"h": 20.4
},
"luminance": 0.12809
}Semantic roles & 50–950 ramp
primary
#BA2F3D
secondary
#7CC9C1
accent
#E3D345
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160908
muted
#847B7B