#BA447E#BA447E

#BA447E is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.5% C 0.163 H 353.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA447E
RGBrgb(186, 68, 126)
HSLhsl(331, 46%, 50%)
HSVhsv(331, 63%, 73%)
CMYKcmyk(0%, 63.4%, 32.3%, 27.1%)
CIE-LABlab(47.08, 53.02, -7.64)
CIE-LCHlch(47.08, 53.56, 351.80°)
OKLaboklab(56.52% 0.1616 -0.0196)
OKLCHoklch(56.52% 0.163 353.1)
XYZxyz(26.0840, 16.0825, 21.4652)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA447E #44BA80
analogous
#BA44B9 #BA447E #BA4544
triadic
#BA447E #7EBA44 #447EBA
tetradic
#BA447E #B9BA44 #44BA80 #4544BA
square
#BA447E #B9BA44 #44BA80 #4544BA
split-complementary
#BA447E #44BA45 #44B9BA
monochromatic
#602341 #8D3460 #BA447E #CB709D #DB9DBC

Accessibility & contrast

On white

4.98
#BA447E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA447E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA447E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA447E#FFFFFF#000000##FFFFFF
##BA447E1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566280
Deuteranopia (green-blind)
#76787B
Tritanopia (blue-blind)
#C83D5B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba447e;
/* rgb */ color: rgb(186, 68, 126);
/* oklch */ color: oklch(56.5% 0.163 353.1);
Tailwind
colors: {
  custom: {
    50: '#d37fa3',
    500: '#ba447e',
    950: '#000000',
  },
}
SCSS
$custom: #ba447e;
$custom-light: #d37fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba447e",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 126
  },
  "hsl": {
    "h": 330.508,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.16277,
    "h": 353.1
  },
  "luminance": 0.1608
}

Semantic roles & 50–950 ramp

primary
#BA447E
secondary
#92C8AD
accent
#D69552
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA447E

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

Preview Lab → · Contrast checker → · Palette generator →

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