#BA403D#BA403D

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

Color values

HEX#BA403D
RGBrgb(186, 64, 61)
HSLhsl(1, 51%, 48%)
HSVhsv(1, 67%, 73%)
CMYKcmyk(0%, 65.6%, 67.2%, 27.1%)
CIE-LABlab(44.87, 48.90, 28.85)
CIE-LCHlch(44.87, 56.78, 30.54°)
OKLaboklab(54.35% 0.1429 0.0676)
OKLCHoklch(54.35% 0.158 25.3)
XYZxyz(22.9278, 14.4460, 5.9950)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA403D #3DB7BA
analogous
#BA3D78 #BA403D #BA7E3D
triadic
#BA403D #3DBA40 #403DBA
tetradic
#BA403D #78BA3D #3DB7BA #7E3DBA
square
#BA403D #78BA3D #3DB7BA #7E3DBA
split-complementary
#BA403D #3DBA7E #3D78BA
monochromatic
#5E201F #8C302E #BA403D #CD6967 #DC9795

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA403D#FFFFFF#000000##FFFFFF
##BA403D1.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)
#615A3C
Deuteranopia (green-blind)
#7F743A
Tritanopia (blue-blind)
#CC2240
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba403d;
/* rgb */ color: rgb(186, 64, 61);
/* oklch */ color: oklch(54.4% 0.158 25.3);
Tailwind
colors: {
  custom: {
    50: '#d67b72',
    500: '#ba403d',
    950: '#000000',
  },
}
SCSS
$custom: #ba403d;
$custom-light: #d67b72;
$custom-dark: #000000;
JSON
{
  "hex": "#ba403d",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 61
  },
  "hsl": {
    "h": 1.44,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.1581,
    "h": 25.3
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#BA403D
secondary
#8BC6C8
accent
#D7DA4E
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA403D

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

Preview Lab → · Contrast checker → · Palette generator →

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