#BA403E#BA403E

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

Color values

HEX#BA403E
RGBrgb(186, 64, 62)
HSLhsl(1, 50%, 49%)
HSVhsv(1, 67%, 73%)
CMYKcmyk(0%, 65.6%, 66.7%, 27.1%)
CIE-LABlab(44.88, 48.96, 28.28)
CIE-LCHlch(44.88, 56.54, 30.01°)
OKLaboklab(54.37% 0.1433 0.0664)
OKLCHoklch(54.37% 0.158 24.9)
XYZxyz(22.9549, 14.4569, 6.1382)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA403E #3EB8BA
analogous
#BA3E7A #BA403E #BA7E3E
triadic
#BA403E #3EBA40 #403EBA
tetradic
#BA403E #7ABA3E #3EB8BA #7E3EBA
square
#BA403E #7ABA3E #3EB8BA #7E3EBA
split-complementary
#BA403E #3EBA7E #3E7ABA
monochromatic
#5E201F #8C302F #BA403E #CD6A68 #DC9796

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA403E#FFFFFF#000000##FFFFFF
##BA403E1.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)
#615A3D
Deuteranopia (green-blind)
#7F743B
Tritanopia (blue-blind)
#CC2241
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba403e;
/* rgb */ color: rgb(186, 64, 62);
/* oklch */ color: oklch(54.4% 0.158 24.9);
Tailwind
colors: {
  custom: {
    50: '#d67b73',
    500: '#ba403e',
    950: '#000000',
  },
}
SCSS
$custom: #ba403e;
$custom-light: #d67b73;
$custom-dark: #000000;
JSON
{
  "hex": "#ba403e",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 62
  },
  "hsl": {
    "h": 0.968,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.15796,
    "h": 24.9
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#BA403E
secondary
#8CC7C8
accent
#D7DA4E
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA403E

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

Preview Lab → · Contrast checker → · Palette generator →

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