#BA3A2F#BA3A2F

#BA3A2F is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.5% C 0.166 H 28.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA3A2F
RGBrgb(186, 58, 47)
HSLhsl(5, 60%, 46%)
HSVhsv(5, 75%, 73%)
CMYKcmyk(0%, 68.8%, 74.7%, 27.1%)
CIE-LABlab(43.76, 50.69, 35.70)
CIE-LCHlch(43.76, 62.00, 35.16°)
OKLaboklab(53.46% 0.1457 0.08)
OKLCHoklch(53.46% 0.166 28.8)
XYZxyz(22.2783, 13.6738, 4.1550)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A2F #2FAFBA
analogous
#BA2F69 #BA3A2F #BA7F2F
triadic
#BA3A2F #2FBA3A #3A2FBA
tetradic
#BA3A2F #69BA2F #2FAFBA #7F2FBA
square
#BA3A2F #69BA2F #2FAFBA #7F2FBA
split-complementary
#BA3A2F #2FBA7F #2F69BA
monochromatic
#581C16 #892B23 #BA3A2F #D35D53 #E08B84

Accessibility & contrast

On white

5.62
#BA3A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA3A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A2F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A2F#FFFFFF#000000##FFFFFF
##BA3A2F1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562D
Deuteranopia (green-blind)
#7E722A
Tritanopia (blue-blind)
#CD1038
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3a2f;
/* rgb */ color: rgb(186, 58, 47);
/* oklch */ color: oklch(53.5% 0.166 28.8);
Tailwind
colors: {
  custom: {
    50: '#d77868',
    500: '#ba3a2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a2f;
$custom-light: #d77868;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a2f",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 47
  },
  "hsl": {
    "h": 4.748,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.16621,
    "h": 28.8
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#BA3A2F
secondary
#7CC3C9
accent
#D6E345
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3A2F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA3A2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva