#BA4045#BA4045

#BA4045 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.5% C 0.157 H 21.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BA4045
RGBrgb(186, 64, 69)
HSLhsl(358, 49%, 49%)
HSVhsv(358, 66%, 73%)
CMYKcmyk(0%, 65.6%, 62.9%, 27.1%)
CIE-LABlab(45.00, 49.38, 24.23)
CIE-LCHlch(45.00, 55.01, 26.14°)
OKLaboklab(54.49% 0.146 0.0581)
OKLCHoklch(54.49% 0.157 21.7)
XYZxyz(23.1595, 14.5388, 7.2158)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4045 #40BAB5
analogous
#BA4082 #BA4045 #BA7840
triadic
#BA4045 #45BA40 #4045BA
tetradic
#BA4045 #82BA40 #40BAB5 #7840BA
square
#BA4045 #82BA40 #40BAB5 #7840BA
split-complementary
#BA4045 #40BA78 #4082BA
monochromatic
#5F2123 #8C3034 #BA4045 #CC6B6F #DC999B

Accessibility & contrast

On white

5.37
#BA4045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA4045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4045
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4045#FFFFFF#000000##FFFFFF
##BA40451.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A44
Deuteranopia (green-blind)
#7F7442
Tritanopia (blue-blind)
#CC2443
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba4045;
/* rgb */ color: rgb(186, 64, 69);
/* oklch */ color: oklch(54.5% 0.157 21.7);
Tailwind
colors: {
  custom: {
    50: '#d57b78',
    500: '#ba4045',
    950: '#000000',
  },
}
SCSS
$custom: #ba4045;
$custom-light: #d57b78;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4045",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 69
  },
  "hsl": {
    "h": 357.541,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5449,
    "c": 0.15717,
    "h": 21.7
  },
  "luminance": 0.14536
}

Semantic roles & 50–950 ramp

primary
#BA4045
secondary
#8EC8C5
accent
#D8D34F
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A09
muted
#847C7B

Preview Lab

Preview with #BA4045

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

Preview Lab → · Contrast checker → · Palette generator →

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