#BA449D#BA449D

#BA449D is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.8% C 0.181 H 338.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA449D
RGBrgb(186, 68, 157)
HSLhsl(315, 46%, 50%)
HSVhsv(315, 63%, 73%)
CMYKcmyk(0%, 63.4%, 15.6%, 27.1%)
CIE-LABlab(48.27, 57.24, -24.44)
CIE-LCHlch(48.27, 62.24, 336.88°)
OKLaboklab(57.78% 0.1691 -0.066)
OKLCHoklch(57.78% 0.181 338.7)
XYZxyz(28.4031, 17.0101, 33.6791)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA449D #44BA61
analogous
#9C44BA #BA449D #BA4462
triadic
#BA449D #9DBA44 #449DBA
tetradic
#BA449D #BA9C44 #44BA61 #4462BA
square
#BA449D #BA9C44 #44BA61 #4462BA
split-complementary
#BA449D #62BA44 #44BA9C
monochromatic
#602351 #8D3477 #BA449D #CB70B5 #DB9DCC

Accessibility & contrast

On white

4.77
#BA449D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BA449D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA449D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA449D#FFFFFF#000000##FFFFFF
##BA449D1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4967A0
Deuteranopia (green-blind)
#6D799A
Tritanopia (blue-blind)
#C4486A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba449d;
/* rgb */ color: rgb(186, 68, 157);
/* oklch */ color: oklch(57.8% 0.181 338.7);
Tailwind
colors: {
  custom: {
    50: '#d280ba',
    500: '#ba449d',
    950: '#000000',
  },
}
SCSS
$custom: #ba449d;
$custom-light: #d280ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba449d",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 157
  },
  "hsl": {
    "h": 314.746,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57784,
    "c": 0.18148,
    "h": 338.7
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#BA449D
secondary
#92C89F
accent
#D67252
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA449D

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

Preview Lab → · Contrast checker → · Palette generator →

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