#BA548E#BA548E

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

Color values

HEX#BA548E
RGBrgb(186, 84, 142)
HSLhsl(326, 43%, 53%)
HSVhsv(326, 55%, 73%)
CMYKcmyk(0%, 54.8%, 23.7%, 27.1%)
CIE-LABlab(50.38, 47.79, -12.30)
CIE-LCHlch(50.38, 49.35, 345.56°)
OKLaboklab(59.15% 0.1437 -0.0323)
OKLCHoklch(59.15% 0.147 347.3)
XYZxyz(28.3034, 18.7352, 27.7116)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA548E #54BA80
analogous
#B354BA #BA548E #BA545B
triadic
#BA548E #8EBA54 #548EBA
tetradic
#BA548E #BAB354 #54BA80 #545BBA
square
#BA548E #BAB354 #54BA80 #545BBA
split-complementary
#BA548E #5BBA54 #54BAB3
monochromatic
#692A4E #953C6E #BA548E #CC80AB #DDABC8

Accessibility & contrast

On white

4.42
#BA548E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BA548E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA548E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA548E#FFFFFF#000000##000000
##BA548E1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D90
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#C5526B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba548e;
/* rgb */ color: rgb(186, 84, 142);
/* oklch */ color: oklch(59.1% 0.147 347.3);
Tailwind
colors: {
  custom: {
    50: '#d188af',
    500: '#ba548e',
    950: '#000000',
  },
}
SCSS
$custom: #ba548e;
$custom-light: #d188af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba548e",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 325.882,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59145,
    "c": 0.14726,
    "h": 347.3
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA548E

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

Preview Lab → · Contrast checker → · Palette generator →

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