#BA403C#BA403C

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

Color values

HEX#BA403C
RGBrgb(186, 64, 60)
HSLhsl(2, 51%, 48%)
HSVhsv(2, 68%, 73%)
CMYKcmyk(0%, 65.6%, 67.7%, 27.1%)
CIE-LABlab(44.85, 48.84, 29.43)
CIE-LCHlch(44.85, 57.02, 31.07°)
OKLaboklab(54.33% 0.1426 0.0687)
OKLCHoklch(54.33% 0.158 25.7)
XYZxyz(22.9011, 14.4354, 5.8545)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA403C #3CB6BA
analogous
#BA3C77 #BA403C #BA7F3C
triadic
#BA403C #3CBA40 #403CBA
tetradic
#BA403C #77BA3C #3CB6BA #7F3CBA
square
#BA403C #77BA3C #3CB6BA #7F3CBA
split-complementary
#BA403C #3CBA7F #3C77BA
monochromatic
#5D201E #8C302D #BA403C #CE6966 #DC9694

Accessibility & contrast

On white

5.40
#BA403C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA403C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA403C
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA403C#FFFFFF#000000##FFFFFF
##BA403C1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61593B
Deuteranopia (green-blind)
#807438
Tritanopia (blue-blind)
#CC2240
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba403c;
/* rgb */ color: rgb(186, 64, 60);
/* oklch */ color: oklch(54.3% 0.158 25.7);
Tailwind
colors: {
  custom: {
    50: '#d67b72',
    500: '#ba403c',
    950: '#000000',
  },
}
SCSS
$custom: #ba403c;
$custom-light: #d67b72;
$custom-dark: #000000;
JSON
{
  "hex": "#ba403c",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 60
  },
  "hsl": {
    "h": 1.905,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54334,
    "c": 0.15824,
    "h": 25.7
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#BA403C
secondary
#8AC6C8
accent
#D6DB4D
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA403C

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

Preview Lab → · Contrast checker → · Palette generator →

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