#BA413C#BA413C

#BA413C is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.5% C 0.157 H 26.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BA413C
RGBrgb(186, 65, 60)
HSLhsl(2, 51%, 48%)
HSVhsv(2, 68%, 73%)
CMYKcmyk(0%, 65.1%, 67.7%, 27.1%)
CIE-LABlab(45.01, 48.41, 29.62)
CIE-LCHlch(45.01, 56.76, 31.46°)
OKLaboklab(54.45% 0.1412 0.0691)
OKLCHoklch(54.45% 0.157 26.1)
XYZxyz(22.9580, 14.5492, 5.8735)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA413C #3CB5BA
analogous
#BA3C76 #BA413C #BA803C
triadic
#BA413C #3CBA41 #413CBA
tetradic
#BA413C #76BA3C #3CB5BA #803CBA
square
#BA413C #76BA3C #3CB5BA #803CBA
split-complementary
#BA413C #3CBA80 #3C76BA
monochromatic
#5D211E #8C312D #BA413C #CE6A66 #DC9794

Accessibility & contrast

On white

5.37
#BA413C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA413C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA413C
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA413C#FFFFFF#000000##FFFFFF
##BA413C1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A3B
Deuteranopia (green-blind)
#807439
Tritanopia (blue-blind)
#CC2441
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba413c;
/* rgb */ color: rgb(186, 65, 60);
/* oklch */ color: oklch(54.5% 0.157 26.1);
Tailwind
colors: {
  custom: {
    50: '#d67c72',
    500: '#ba413c',
    950: '#000000',
  },
}
SCSS
$custom: #ba413c;
$custom-light: #d67c72;
$custom-dark: #000000;
JSON
{
  "hex": "#ba413c",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 60
  },
  "hsl": {
    "h": 2.381,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.15721,
    "h": 26.1
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#BA413C
secondary
#8AC5C8
accent
#D5DB4D
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA413C

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

Preview Lab → · Contrast checker → · Palette generator →

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