#BA3E2A#BA3E2A

#BA3E2A is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.9% C 0.163 H 31.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BA3E2A
RGBrgb(186, 62, 42)
HSLhsl(8, 63%, 45%)
HSVhsv(8, 77%, 73%)
CMYKcmyk(0%, 66.7%, 77.4%, 27.1%)
CIE-LABlab(44.31, 48.85, 39.07)
CIE-LCHlch(44.31, 62.55, 38.65°)
OKLaboklab(53.86% 0.1389 0.086)
OKLCHoklch(53.86% 0.163 31.8)
XYZxyz(22.3928, 14.0548, 3.7238)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E2A #2AA6BA
analogous
#BA2A5E #BA3E2A #BA862A
triadic
#BA3E2A #2ABA3E #3E2ABA
tetradic
#BA3E2A #5EBA2A #2AA6BA #862ABA
square
#BA3E2A #5EBA2A #2AA6BA #862ABA
split-complementary
#BA3E2A #2ABA86 #2A5EBA
monochromatic
#561D13 #882D1F #BA3E2A #D65E4B #E28B7D

Accessibility & contrast

On white

5.51
#BA3E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA3E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E2A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E2A#FFFFFF#000000##FFFFFF
##BA3E2A1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615727
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#CD193A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3e2a;
/* rgb */ color: rgb(186, 62, 42);
/* oklch */ color: oklch(53.9% 0.163 31.8);
Tailwind
colors: {
  custom: {
    50: '#d77a65',
    500: '#ba3e2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e2a;
$custom-light: #d77a65;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e2a",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 42
  },
  "hsl": {
    "h": 8.333,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.16339,
    "h": 31.8
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#BA3E2A
secondary
#76BECA
accent
#CFE642
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160A05
muted
#847C7A

Preview Lab

Preview with #BA3E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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