#BA413E#BA413E

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

Color values

HEX#BA413E
RGBrgb(186, 65, 62)
HSLhsl(1, 50%, 49%)
HSVhsv(1, 67%, 73%)
CMYKcmyk(0%, 65.1%, 66.7%, 27.1%)
CIE-LABlab(45.04, 48.53, 28.48)
CIE-LCHlch(45.04, 56.26, 30.41°)
OKLaboklab(54.49% 0.142 0.0669)
OKLCHoklch(54.49% 0.157 25.2)
XYZxyz(23.0118, 14.5707, 6.1572)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA413E #3EB7BA
analogous
#BA3E79 #BA413E #BA7F3E
triadic
#BA413E #3EBA41 #413EBA
tetradic
#BA413E #79BA3E #3EB7BA #7F3EBA
square
#BA413E #79BA3E #3EB7BA #7F3EBA
split-complementary
#BA413E #3EBA7F #3E79BA
monochromatic
#5E211F #8C312F #BA413E #CD6B68 #DC9896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA413E#FFFFFF#000000##FFFFFF
##BA413E1.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)
#615A3D
Deuteranopia (green-blind)
#80743B
Tritanopia (blue-blind)
#CC2441
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba413e;
/* rgb */ color: rgb(186, 65, 62);
/* oklch */ color: oklch(54.5% 0.157 25.2);
Tailwind
colors: {
  custom: {
    50: '#d67c73',
    500: '#ba413e',
    950: '#000000',
  },
}
SCSS
$custom: #ba413e;
$custom-light: #d67c73;
$custom-dark: #000000;
JSON
{
  "hex": "#ba413e",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 62
  },
  "hsl": {
    "h": 1.452,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.15692,
    "h": 25.2
  },
  "luminance": 0.14567
}

Semantic roles & 50–950 ramp

primary
#BA413E
secondary
#8CC6C8
accent
#D6DA4E
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA413E

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

Preview Lab → · Contrast checker → · Palette generator →

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