#BA405B#BA405B

#BA405B is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.0% C 0.157 H 10.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA405B
RGBrgb(186, 64, 91)
HSLhsl(347, 49%, 49%)
HSVhsv(347, 66%, 73%)
CMYKcmyk(0%, 65.6%, 51.1%, 27.1%)
CIE-LABlab(45.45, 51.05, 11.40)
CIE-LCHlch(45.45, 52.31, 12.59°)
OKLaboklab(54.97% 0.1547 0.0291)
OKLCHoklch(54.97% 0.157 10.7)
XYZxyz(23.9734, 14.8643, 11.5022)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA405B #40BA9F
analogous
#BA4098 #BA405B #BA6240
triadic
#BA405B #5BBA40 #405BBA
tetradic
#BA405B #98BA40 #40BA9F #6240BA
square
#BA405B #98BA40 #40BA9F #6240BA
split-complementary
#BA405B #40BA62 #4098BA
monochromatic
#5F212E #8C3045 #BA405B #CC6B81 #DC99A7

Accessibility & contrast

On white

5.29
#BA405B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA405B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA405B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA405B#FFFFFF#000000##FFFFFF
##BA405B1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5C5B
Deuteranopia (green-blind)
#7C7558
Tritanopia (blue-blind)
#CA2B4B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba405b;
/* rgb */ color: rgb(186, 64, 91);
/* oklch */ color: oklch(55.0% 0.157 10.7);
Tailwind
colors: {
  custom: {
    50: '#d47c89',
    500: '#ba405b',
    950: '#000000',
  },
}
SCSS
$custom: #ba405b;
$custom-light: #d47c89;
$custom-dark: #000000;
JSON
{
  "hex": "#ba405b",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 346.721,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54974,
    "c": 0.15745,
    "h": 10.7
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#BA405B
secondary
#8EC8BB
accent
#D8BA4F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA405B

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

Preview Lab → · Contrast checker → · Palette generator →

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