#BA3A2C#BA3A2C

#BA3A2C is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.167 H 29.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3A2C
RGBrgb(186, 58, 44)
HSLhsl(6, 62%, 45%)
HSVhsv(6, 76%, 73%)
CMYKcmyk(0%, 68.8%, 76.3%, 27.1%)
CIE-LABlab(43.73, 50.57, 37.35)
CIE-LCHlch(43.73, 62.87, 36.45°)
OKLaboklab(53.43% 0.1447 0.0828)
OKLCHoklch(53.43% 0.167 29.8)
XYZxyz(22.2199, 13.6504, 3.8472)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A2C #2CACBA
analogous
#BA2C65 #BA3A2C #BA812C
triadic
#BA3A2C #2CBA3A #3A2CBA
tetradic
#BA3A2C #65BA2C #2CACBA #812CBA
square
#BA3A2C #65BA2C #2CACBA #812CBA
split-complementary
#BA3A2C #2CBA81 #2C65BA
monochromatic
#571B15 #892B20 #BA3A2C #D55B4E #E18980

Accessibility & contrast

On white

5.63
#BA3A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3A2C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A2C#FFFFFF#000000##FFFFFF
##BA3A2C1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5629
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#CD0F38
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3a2c;
/* rgb */ color: rgb(186, 58, 44);
/* oklch */ color: oklch(53.4% 0.167 29.8);
Tailwind
colors: {
  custom: {
    50: '#d77866',
    500: '#ba3a2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a2c;
$custom-light: #d77866;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a2c",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 44
  },
  "hsl": {
    "h": 5.915,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.16672,
    "h": 29.8
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#BA3A2C
secondary
#78C2CA
accent
#D5E543
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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