#BA548D#BA548D

#BA548D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.1% C 0.147 H 347.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA548D
RGBrgb(186, 84, 141)
HSLhsl(326, 43%, 53%)
HSVhsv(326, 55%, 73%)
CMYKcmyk(0%, 54.8%, 24.2%, 27.1%)
CIE-LABlab(50.34, 47.64, -11.76)
CIE-LCHlch(50.34, 49.07, 346.13°)
OKLaboklab(59.11% 0.1434 -0.0309)
OKLCHoklch(59.11% 0.147 347.9)
XYZxyz(28.2286, 18.7053, 27.3179)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA548D #54BA81
analogous
#B454BA #BA548D #BA545A
triadic
#BA548D #8DBA54 #548DBA
tetradic
#BA548D #BAB454 #54BA81 #545ABA
square
#BA548D #BAB454 #54BA81 #545ABA
split-complementary
#BA548D #5ABA54 #54BAB4
monochromatic
#692A4D #953C6E #BA548D #CC80AA #DDABC7

Accessibility & contrast

On white

4.43
#BA548D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BA548D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA548D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA548D#FFFFFF#000000##000000
##BA548D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8F
Deuteranopia (green-blind)
#7A7E8A
Tritanopia (blue-blind)
#C6526A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba548d;
/* rgb */ color: rgb(186, 84, 141);
/* oklch */ color: oklch(59.1% 0.147 347.9);
Tailwind
colors: {
  custom: {
    50: '#d188ae',
    500: '#ba548d',
    950: '#000000',
  },
}
SCSS
$custom: #ba548d;
$custom-light: #d188ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba548d",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 326.471,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.14666,
    "h": 347.9
  },
  "luminance": 0.18703
}

Semantic roles & 50–950 ramp

primary
#BA548D
secondary
#9FCBB2
accent
#D28D56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA548D

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

Preview Lab → · Contrast checker → · Palette generator →

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