#BA405E#BA405E

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

Color values

HEX#BA405E
RGBrgb(186, 64, 94)
HSLhsl(345, 49%, 49%)
HSVhsv(345, 66%, 73%)
CMYKcmyk(0%, 65.6%, 49.5%, 27.1%)
CIE-LABlab(45.52, 51.32, 9.66)
CIE-LCHlch(45.52, 52.22, 10.66°)
OKLaboklab(55.05% 0.1559 0.0249)
OKLCHoklch(55.05% 0.158 9.1)
XYZxyz(24.1054, 14.9171, 12.1974)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA405E #40BA9C
analogous
#BA409B #BA405E #BA5F40
triadic
#BA405E #5EBA40 #405EBA
tetradic
#BA405E #9BBA40 #40BA9C #5F40BA
square
#BA405E #9BBA40 #40BA9C #5F40BA
split-complementary
#BA405E #40BA5F #409BBA
monochromatic
#5F2130 #8C3047 #BA405E #CC6B83 #DC99A9

Accessibility & contrast

On white

5.27
#BA405E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA405E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA405E#FFFFFF#000000##FFFFFF
##BA405E1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C5F
Deuteranopia (green-blind)
#7B755B
Tritanopia (blue-blind)
#CA2D4C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba405e;
/* rgb */ color: rgb(186, 64, 94);
/* oklch */ color: oklch(55.1% 0.158 9.1);
Tailwind
colors: {
  custom: {
    50: '#d47c8b',
    500: '#ba405e',
    950: '#000000',
  },
}
SCSS
$custom: #ba405e;
$custom-light: #d47c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba405e",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 345.246,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.15787,
    "h": 9.1
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

primary
#BA405E
secondary
#8EC8BA
accent
#D8B74F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA405E

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

Preview Lab → · Contrast checker → · Palette generator →

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