#BA412E#BA412E

#BA412E is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.3% C 0.160 H 31.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA412E
RGBrgb(186, 65, 46)
HSLhsl(8, 60%, 45%)
HSVhsv(8, 75%, 73%)
CMYKcmyk(0%, 65.1%, 75.3%, 27.1%)
CIE-LABlab(44.83, 47.73, 37.43)
CIE-LCHlch(44.83, 60.66, 38.11°)
OKLaboklab(54.26% 0.1362 0.0835)
OKLCHoklch(54.26% 0.16 31.5)
XYZxyz(22.6356, 14.4202, 4.1757)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA412E #2EA7BA
analogous
#BA2E61 #BA412E #BA872E
triadic
#BA412E #2EBA41 #412EBA
tetradic
#BA412E #61BA2E #2EA7BA #872EBA
square
#BA412E #61BA2E #2EA7BA #872EBA
split-complementary
#BA412E #2EBA87 #2E61BA
monochromatic
#581F16 #893022 #BA412E #D46351 #E08F82

Accessibility & contrast

On white

5.41
#BA412E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA412E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA412E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA412E#FFFFFF#000000##FFFFFF
##BA412E1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63592B
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#CD203D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba412e;
/* rgb */ color: rgb(186, 65, 46);
/* oklch */ color: oklch(54.3% 0.160 31.5);
Tailwind
colors: {
  custom: {
    50: '#d77b68',
    500: '#ba412e',
    950: '#000000',
  },
}
SCSS
$custom: #ba412e;
$custom-light: #d77b68;
$custom-dark: #000000;
JSON
{
  "hex": "#ba412e",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 46
  },
  "hsl": {
    "h": 8.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.15977,
    "h": 31.5
  },
  "luminance": 0.14417
}

Semantic roles & 50–950 ramp

primary
#BA412E
secondary
#7BBFC9
accent
#CEE344
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA412E

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

Preview Lab → · Contrast checker → · Palette generator →

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