#BA415B#BA415B

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

Color values

HEX#BA415B
RGBrgb(186, 65, 91)
HSLhsl(347, 48%, 49%)
HSVhsv(347, 65%, 73%)
CMYKcmyk(0%, 65.1%, 51.1%, 27.1%)
CIE-LABlab(45.60, 50.63, 11.62)
CIE-LCHlch(45.60, 51.94, 12.92°)
OKLaboklab(55.09% 0.1534 0.0297)
OKLCHoklch(55.09% 0.156 10.9)
XYZxyz(24.0303, 14.9781, 11.5211)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA415B #41BAA0
analogous
#BA4198 #BA415B #BA6341
triadic
#BA415B #5BBA41 #415BBA
tetradic
#BA415B #98BA41 #41BAA0 #6341BA
square
#BA415B #98BA41 #41BAA0 #6341BA
split-complementary
#BA415B #41BA63 #4198BA
monochromatic
#5F212F #8D3145 #BA415B #CC6C81 #DC9AA8

Accessibility & contrast

On white

5.26
#BA415B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA415B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA415B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA415B#FFFFFF#000000##FFFFFF
##BA415B1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba415b;
/* rgb */ color: rgb(186, 65, 91);
/* oklch */ color: oklch(55.1% 0.156 10.9);
Tailwind
colors: {
  custom: {
    50: '#d47c89',
    500: '#ba415b',
    950: '#000000',
  },
}
SCSS
$custom: #ba415b;
$custom-light: #d47c89;
$custom-dark: #000000;
JSON
{
  "hex": "#ba415b",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 91
  },
  "hsl": {
    "h": 347.107,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55091,
    "c": 0.15622,
    "h": 10.9
  },
  "luminance": 0.14975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA415B

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

Preview Lab → · Contrast checker → · Palette generator →

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