#BA548C#BA548C

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

Color values

HEX#BA548C
RGBrgb(186, 84, 140)
HSLhsl(327, 43%, 53%)
HSVhsv(327, 55%, 73%)
CMYKcmyk(0%, 54.8%, 24.7%, 27.1%)
CIE-LABlab(50.31, 47.50, -11.22)
CIE-LCHlch(50.31, 48.81, 346.71°)
OKLaboklab(59.07% 0.1431 -0.0294)
OKLCHoklch(59.07% 0.146 348.4)
XYZxyz(28.1546, 18.6757, 26.9278)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA548C #54BA82
analogous
#B554BA #BA548C #BA5459
triadic
#BA548C #8CBA54 #548CBA
tetradic
#BA548C #BAB554 #54BA82 #5459BA
square
#BA548C #BAB554 #54BA82 #5459BA
split-complementary
#BA548C #59BA54 #54BAB5
monochromatic
#692A4D #953C6D #BA548C #CC80A9 #DDABC7

Accessibility & contrast

On white

4.44
#BA548C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BA548C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA548C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA548C#FFFFFF#000000##000000
##BA548C1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8E
Deuteranopia (green-blind)
#7B7E89
Tritanopia (blue-blind)
#C6516A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba548c;
/* rgb */ color: rgb(186, 84, 140);
/* oklch */ color: oklch(59.1% 0.146 348.4);
Tailwind
colors: {
  custom: {
    50: '#d188ad',
    500: '#ba548c',
    950: '#000000',
  },
}
SCSS
$custom: #ba548c;
$custom-light: #d188ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba548c",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 327.059,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59069,
    "c": 0.14608,
    "h": 348.4
  },
  "luminance": 0.18673
}

Semantic roles & 50–950 ramp

primary
#BA548C
secondary
#9FCBB3
accent
#D28E56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA548C

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

Preview Lab → · Contrast checker → · Palette generator →

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