#BA415C#BA415C

#BA415C is a mid, vivid red. Relative luminance 0.150; OKLCH L 55.1% C 0.156 H 10.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA415C
RGBrgb(186, 65, 92)
HSLhsl(347, 48%, 49%)
HSVhsv(347, 65%, 73%)
CMYKcmyk(0%, 65.1%, 50.5%, 27.1%)
CIE-LABlab(45.63, 50.71, 11.04)
CIE-LCHlch(45.63, 51.90, 12.28°)
OKLaboklab(55.12% 0.1538 0.0283)
OKLCHoklch(55.12% 0.156 10.4)
XYZxyz(24.0737, 14.9955, 11.7498)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA415C #41BA9F
analogous
#BA4199 #BA415C #BA6341
triadic
#BA415C #5CBA41 #415CBA
tetradic
#BA415C #99BA41 #41BA9F #6341BA
square
#BA415C #99BA41 #41BA9F #6341BA
split-complementary
#BA415C #41BA63 #4199BA
monochromatic
#5F212F #8D3146 #BA415C #CC6C82 #DC9AA8

Accessibility & contrast

On white

5.25
#BA415C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA415C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA415C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA415C#FFFFFF#000000##FFFFFF
##BA415C1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba415c;
/* rgb */ color: rgb(186, 65, 92);
/* oklch */ color: oklch(55.1% 0.156 10.4);
Tailwind
colors: {
  custom: {
    50: '#d47c89',
    500: '#ba415c',
    950: '#000000',
  },
}
SCSS
$custom: #ba415c;
$custom-light: #d47c89;
$custom-dark: #000000;
JSON
{
  "hex": "#ba415c",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 92
  },
  "hsl": {
    "h": 346.612,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55116,
    "c": 0.15635,
    "h": 10.4
  },
  "luminance": 0.14992
}

Semantic roles & 50–950 ramp

primary
#BA415C
secondary
#8FC8BB
accent
#D8B950
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA415C

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

Preview Lab → · Contrast checker → · Palette generator →

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