#BA291D#BA291D

#BA291D is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.183 H 29.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#BA291D
RGBrgb(186, 41, 29)
HSLhsl(5, 73%, 42%)
HSVhsv(5, 84%, 73%)
CMYKcmyk(0%, 78%, 84.4%, 27.1%)
CIE-LABlab(41.40, 56.13, 43.04)
CIE-LCHlch(41.40, 70.73, 37.48°)
OKLaboklab(51.64% 0.1592 0.0903)
OKLCHoklch(51.64% 0.183 29.6)
XYZxyz(21.2670, 12.1171, 2.3812)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA291D #1DAEBA
analogous
#BA1D60 #BA291D #BA781D
triadic
#BA291D #1DBA29 #291DBA
tetradic
#BA291D #60BA1D #1DAEBA #781DBA
square
#BA291D #60BA1D #1DAEBA #781DBA
split-complementary
#BA291D #1DBA78 #1D60BA
monochromatic
#50120C #851D15 #BA291D #DF4235 #E8736A

Accessibility & contrast

On white

6.14
#BA291D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#BA291D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA291D
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA291D#FFFFFF#000000##FFFFFF
##BA291D1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D19
Deuteranopia (green-blind)
#7B6D14
Tritanopia (blue-blind)
#CD0028
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba291d;
/* rgb */ color: rgb(186, 41, 29);
/* oklch */ color: oklch(51.6% 0.183 29.6);
Tailwind
colors: {
  custom: {
    50: '#d9705b',
    500: '#ba291d',
    950: '#000000',
  },
}
SCSS
$custom: #ba291d;
$custom-light: #d9705b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba291d",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 29
  },
  "hsl": {
    "h": 4.586,
    "s": 73.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51644,
    "c": 0.18299,
    "h": 29.6
  },
  "luminance": 0.12114
}

Semantic roles & 50–950 ramp

primary
#BA291D
secondary
#65C5CD
accent
#E2F038
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#170804
muted
#857B79

Preview Lab

Preview with #BA291D

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

Preview Lab → · Contrast checker → · Palette generator →

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