#BA3B2A#BA3B2A

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

Color values

HEX#BA3B2A
RGBrgb(186, 59, 42)
HSLhsl(7, 63%, 45%)
HSVhsv(7, 77%, 73%)
CMYKcmyk(0%, 68.3%, 77.4%, 27.1%)
CIE-LABlab(43.85, 50.09, 38.59)
CIE-LCHlch(43.85, 63.23, 37.61°)
OKLaboklab(53.51% 0.1428 0.085)
OKLCHoklch(53.51% 0.166 30.7)
XYZxyz(22.2341, 13.7375, 3.6709)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B2A #2AA9BA
analogous
#BA2A61 #BA3B2A #BA832A
triadic
#BA3B2A #2ABA3B #3B2ABA
tetradic
#BA3B2A #61BA2A #2AA9BA #832ABA
square
#BA3B2A #61BA2A #2AA9BA #832ABA
split-complementary
#BA3B2A #2ABA83 #2A61BA
monochromatic
#561B13 #882B1F #BA3B2A #D65B4B #E2897D

Accessibility & contrast

On white

5.60
#BA3B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BA3B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B2A
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B2A#FFFFFF#000000##FFFFFF
##BA3B2A1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605627
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#CD1138
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3b2a;
/* rgb */ color: rgb(186, 59, 42);
/* oklch */ color: oklch(53.5% 0.166 30.7);
Tailwind
colors: {
  custom: {
    50: '#d77865',
    500: '#ba3b2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b2a;
$custom-light: #d77865;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b2a",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 42
  },
  "hsl": {
    "h": 7.083,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.16616,
    "h": 30.7
  },
  "luminance": 0.13734
}

Semantic roles & 50–950 ramp

primary
#BA3B2A
secondary
#76C0CA
accent
#D3E642
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA3B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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