#BA4B8D#BA4B8D

#BA4B8D is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.9% C 0.161 H 346.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA4B8D
RGBrgb(186, 75, 141)
HSLhsl(324, 45%, 51%)
HSVhsv(324, 60%, 73%)
CMYKcmyk(0%, 59.7%, 24.2%, 27.1%)
CIE-LABlab(48.76, 51.88, -14.16)
CIE-LCHlch(48.76, 53.77, 344.74°)
OKLaboklab(57.93% 0.1563 -0.0373)
OKLCHoklch(57.93% 0.161 346.6)
XYZxyz(27.5744, 17.3969, 27.0999)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4B8D #4BBA78
analogous
#AF4BBA #BA4B8D #BA4B55
triadic
#BA4B8D #8DBA4B #4B8DBA
tetradic
#BA4B8D #BAAF4B #4BBA78 #4B55BA
square
#BA4B8D #BAAF4B #4BBA78 #4B55BA
split-complementary
#BA4B8D #55BA4B #4BBAAF
monochromatic
#64264B #90376C #BA4B8D #CB77A9 #DCA3C5

Accessibility & contrast

On white

4.69
#BA4B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BA4B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4B8D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4B8D#FFFFFF#000000##FFFFFF
##BA4B8D1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57688F
Deuteranopia (green-blind)
#767B8A
Tritanopia (blue-blind)
#C64966
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4b8d;
/* rgb */ color: rgb(186, 75, 141);
/* oklch */ color: oklch(57.9% 0.161 346.6);
Tailwind
colors: {
  custom: {
    50: '#d283ae',
    500: '#ba4b8d',
    950: '#000000',
  },
}
SCSS
$custom: #ba4b8d;
$custom-light: #d283ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4b8d",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 141
  },
  "hsl": {
    "h": 324.324,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57931,
    "c": 0.16066,
    "h": 346.6
  },
  "luminance": 0.17394
}

Semantic roles & 50–950 ramp

primary
#BA4B8D
secondary
#98C9AC
accent
#D48854
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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