#BA415F#BA415F

#BA415F is a mid, vivid red. Relative luminance 0.150; OKLCH L 55.2% C 0.157 H 8.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA415F
RGBrgb(186, 65, 95)
HSLhsl(345, 48%, 49%)
HSVhsv(345, 65%, 73%)
CMYKcmyk(0%, 65.1%, 48.9%, 27.1%)
CIE-LABlab(45.70, 50.98, 9.30)
CIE-LCHlch(45.70, 51.82, 10.33°)
OKLaboklab(55.2% 0.1549 0.024)
OKLCHoklch(55.2% 0.157 8.8)
XYZxyz(24.2075, 15.0490, 12.4542)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA415F #41BA9C
analogous
#BA419C #BA415F #BA6041
triadic
#BA415F #5FBA41 #415FBA
tetradic
#BA415F #9CBA41 #41BA9C #6041BA
square
#BA415F #9CBA41 #41BA9C #6041BA
split-complementary
#BA415F #41BA60 #419CBA
monochromatic
#5F2131 #8D3148 #BA415F #CC6C84 #DC9AAA

Accessibility & contrast

On white

5.24
#BA415F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA415F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA415F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA415F#FFFFFF#000000##FFFFFF
##BA415F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5D60
Deuteranopia (green-blind)
#7B755C
Tritanopia (blue-blind)
#CA2E4D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba415f;
/* rgb */ color: rgb(186, 65, 95);
/* oklch */ color: oklch(55.2% 0.157 8.8);
Tailwind
colors: {
  custom: {
    50: '#d47c8c',
    500: '#ba415f',
    950: '#000000',
  },
}
SCSS
$custom: #ba415f;
$custom-light: #d47c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba415f",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 345.124,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55195,
    "c": 0.15679,
    "h": 8.8
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

primary
#BA415F
secondary
#8FC8BA
accent
#D8B650
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA415F

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

Preview Lab → · Contrast checker → · Palette generator →

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