#BA403F#BA403F

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

Color values

HEX#BA403F
RGBrgb(186, 64, 63)
HSLhsl(0, 49%, 49%)
HSVhsv(0, 66%, 73%)
CMYKcmyk(0%, 65.6%, 66.1%, 27.1%)
CIE-LABlab(44.90, 49.01, 27.70)
CIE-LCHlch(44.90, 56.30, 29.48°)
OKLaboklab(54.38% 0.1437 0.0653)
OKLCHoklch(54.38% 0.158 24.4)
XYZxyz(22.9826, 14.4680, 6.2841)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA403F #3FB9BA
analogous
#BA3F7C #BA403F #BA7E3F
triadic
#BA403F #3FBA40 #403FBA
tetradic
#BA403F #7CBA3F #3FB9BA #7E3FBA
square
#BA403F #7CBA3F #3FB9BA #7E3FBA
split-complementary
#BA403F #3FBA7E #3F7CBA
monochromatic
#5F2120 #8C3030 #BA403F #CC6B6A #DC9897

Accessibility & contrast

On white

5.39
#BA403F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA403F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA403F#FFFFFF#000000##FFFFFF
##BA403F1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A3E
Deuteranopia (green-blind)
#7F743C
Tritanopia (blue-blind)
#CC2341
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba403f;
/* rgb */ color: rgb(186, 64, 63);
/* oklch */ color: oklch(54.4% 0.158 24.4);
Tailwind
colors: {
  custom: {
    50: '#d67b74',
    500: '#ba403f',
    950: '#000000',
  },
}
SCSS
$custom: #ba403f;
$custom-light: #d67b74;
$custom-dark: #000000;
JSON
{
  "hex": "#ba403f",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 63
  },
  "hsl": {
    "h": 0.488,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.15783,
    "h": 24.4
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#BA403F
secondary
#8DC7C8
accent
#D8D94F
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA403F

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

Preview Lab → · Contrast checker → · Palette generator →

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