#BA405C#BA405C

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

Color values

HEX#BA405C
RGBrgb(186, 64, 92)
HSLhsl(346, 49%, 49%)
HSVhsv(346, 66%, 73%)
CMYKcmyk(0%, 65.6%, 50.5%, 27.1%)
CIE-LABlab(45.47, 51.14, 10.82)
CIE-LCHlch(45.47, 52.27, 11.95°)
OKLaboklab(55% 0.1551 0.0277)
OKLCHoklch(55% 0.158 10.1)
XYZxyz(24.0168, 14.8817, 11.7309)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA405C #40BA9E
analogous
#BA4099 #BA405C #BA6140
triadic
#BA405C #5CBA40 #405CBA
tetradic
#BA405C #99BA40 #40BA9E #6140BA
square
#BA405C #99BA40 #40BA9E #6140BA
split-complementary
#BA405C #40BA61 #4099BA
monochromatic
#5F212F #8C3045 #BA405C #CC6B81 #DC99A8

Accessibility & contrast

On white

5.28
#BA405C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BA405C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA405C
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA405C#FFFFFF#000000##FFFFFF
##BA405C1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5C5C
Deuteranopia (green-blind)
#7C7559
Tritanopia (blue-blind)
#CA2C4B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba405c;
/* rgb */ color: rgb(186, 64, 92);
/* oklch */ color: oklch(55.0% 0.158 10.1);
Tailwind
colors: {
  custom: {
    50: '#d47c89',
    500: '#ba405c',
    950: '#000000',
  },
}
SCSS
$custom: #ba405c;
$custom-light: #d47c89;
$custom-dark: #000000;
JSON
{
  "hex": "#ba405c",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 346.23,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55,
    "c": 0.15758,
    "h": 10.1
  },
  "luminance": 0.14879
}

Semantic roles & 50–950 ramp

primary
#BA405C
secondary
#8EC8BA
accent
#D8B94F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA405C

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

Preview Lab → · Contrast checker → · Palette generator →

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