#BA3E27#BA3E27

#BA3E27 is a mid, vivid red. Relative luminance 0.140; OKLCH L 53.8% C 0.164 H 32.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA3E27
RGBrgb(186, 62, 39)
HSLhsl(9, 65%, 44%)
HSVhsv(9, 79%, 73%)
CMYKcmyk(0%, 66.7%, 79%, 27.1%)
CIE-LABlab(44.28, 48.74, 40.64)
CIE-LCHlch(44.28, 63.46, 39.82°)
OKLaboklab(53.83% 0.138 0.0885)
OKLCHoklch(53.83% 0.164 32.7)
XYZxyz(22.3411, 14.0341, 3.4515)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E27 #27A3BA
analogous
#BA275A #BA3E27 #BA8827
triadic
#BA3E27 #27BA3E #3E27BA
tetradic
#BA3E27 #5ABA27 #27A3BA #8827BA
square
#BA3E27 #5ABA27 #27A3BA #8827BA
split-complementary
#BA3E27 #27BA88 #275ABA
monochromatic
#551C12 #872D1C #BA3E27 #D85D46 #E38979

Accessibility & contrast

On white

5.52
#BA3E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3E27
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E27#FFFFFF#000000##FFFFFF
##BA3E271.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625723
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#CD183A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3e27;
/* rgb */ color: rgb(186, 62, 39);
/* oklch */ color: oklch(53.8% 0.164 32.7);
Tailwind
colors: {
  custom: {
    50: '#d77a63',
    500: '#ba3e27',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e27;
$custom-light: #d77a63;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e27",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 39
  },
  "hsl": {
    "h": 9.388,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.16397,
    "h": 32.7
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#BA3E27
secondary
#72BDCB
accent
#CEE840
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160A05
muted
#847C79

Preview Lab

Preview with #BA3E27

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

Preview Lab → · Contrast checker → · Palette generator →

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