#BA415E#BA415E

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

Color values

HEX#BA415E
RGBrgb(186, 65, 94)
HSLhsl(346, 48%, 49%)
HSVhsv(346, 65%, 73%)
CMYKcmyk(0%, 65.1%, 49.5%, 27.1%)
CIE-LABlab(45.68, 50.89, 9.88)
CIE-LCHlch(45.68, 51.84, 10.98°)
OKLaboklab(55.17% 0.1545 0.0255)
OKLCHoklch(55.17% 0.157 9.4)
XYZxyz(24.1623, 15.0309, 12.2164)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA415E #41BA9D
analogous
#BA419B #BA415E #BA6141
triadic
#BA415E #5EBA41 #415EBA
tetradic
#BA415E #9BBA41 #41BA9D #6141BA
square
#BA415E #9BBA41 #41BA9D #6141BA
split-complementary
#BA415E #41BA61 #419BBA
monochromatic
#5F2130 #8D3147 #BA415E #CC6C83 #DC9AAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA415E#FFFFFF#000000##FFFFFF
##BA415E1.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)
#5C5D5F
Deuteranopia (green-blind)
#7C755B
Tritanopia (blue-blind)
#CA2E4C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba415e;
/* rgb */ color: rgb(186, 65, 94);
/* oklch */ color: oklch(55.2% 0.157 9.4);
Tailwind
colors: {
  custom: {
    50: '#d47c8b',
    500: '#ba415e',
    950: '#000000',
  },
}
SCSS
$custom: #ba415e;
$custom-light: #d47c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba415e",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 94
  },
  "hsl": {
    "h": 345.62,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.15662,
    "h": 9.4
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA415E

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

Preview Lab → · Contrast checker → · Palette generator →

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