#BA403B#BA403B

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

Color values

HEX#BA403B
RGBrgb(186, 64, 59)
HSLhsl(2, 52%, 48%)
HSVhsv(2, 68%, 73%)
CMYKcmyk(0%, 65.6%, 68.3%, 27.1%)
CIE-LABlab(44.84, 48.79, 30.00)
CIE-LCHlch(44.84, 57.27, 31.59°)
OKLaboklab(54.32% 0.1422 0.0698)
OKLCHoklch(54.32% 0.158 26.2)
XYZxyz(22.8749, 14.4249, 5.7166)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA403B #3BB5BA
analogous
#BA3B75 #BA403B #BA7F3B
triadic
#BA403B #3BBA40 #403BBA
tetradic
#BA403B #75BA3B #3BB5BA #7F3BBA
square
#BA403B #75BA3B #3BB5BA #7F3BBA
split-complementary
#BA403B #3BBA7F #3B75BA
monochromatic
#5D201E #8C302C #BA403B #CE6864 #DD9693

Accessibility & contrast

On white

5.41
#BA403B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA403B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA403B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA403B#FFFFFF#000000##FFFFFF
##BA403B1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba403b;
/* rgb */ color: rgb(186, 64, 59);
/* oklch */ color: oklch(54.3% 0.158 26.2);
Tailwind
colors: {
  custom: {
    50: '#d67b71',
    500: '#ba403b',
    950: '#000000',
  },
}
SCSS
$custom: #ba403b;
$custom-light: #d67b71;
$custom-dark: #000000;
JSON
{
  "hex": "#ba403b",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 59
  },
  "hsl": {
    "h": 2.362,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.1584,
    "h": 26.2
  },
  "luminance": 0.14422
}

Semantic roles & 50–950 ramp

primary
#BA403B
secondary
#89C5C8
accent
#D6DB4D
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA403B

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

Preview Lab → · Contrast checker → · Palette generator →

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