#BA548F#BA548F

#BA548F is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.2% C 0.148 H 346.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA548F
RGBrgb(186, 84, 143)
HSLhsl(325, 43%, 53%)
HSVhsv(325, 55%, 73%)
CMYKcmyk(0%, 54.8%, 23.1%, 27.1%)
CIE-LABlab(50.41, 47.93, -12.84)
CIE-LCHlch(50.41, 49.62, 345.00°)
OKLaboklab(59.18% 0.1439 -0.0338)
OKLCHoklch(59.18% 0.148 346.8)
XYZxyz(28.3788, 18.7654, 28.1087)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA548F #54BA7F
analogous
#B254BA #BA548F #BA545C
triadic
#BA548F #8FBA54 #548FBA
tetradic
#BA548F #BAB254 #54BA7F #545CBA
square
#BA548F #BAB254 #54BA7F #545CBA
split-complementary
#BA548F #5CBA54 #54BAB2
monochromatic
#692A4F #953C6F #BA548F #CC80AC #DDABC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA548F#FFFFFF#000000##000000
##BA548F1.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)
#5E6D91
Deuteranopia (green-blind)
#7A7E8C
Tritanopia (blue-blind)
#C5526B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba548f;
/* rgb */ color: rgb(186, 84, 143);
/* oklch */ color: oklch(59.2% 0.148 346.8);
Tailwind
colors: {
  custom: {
    50: '#d188af',
    500: '#ba548f',
    950: '#000000',
  },
}
SCSS
$custom: #ba548f;
$custom-light: #d188af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba548f",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 325.294,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59183,
    "c": 0.14786,
    "h": 346.8
  },
  "luminance": 0.18763
}

Semantic roles & 50–950 ramp

primary
#BA548F
secondary
#9FCBB1
accent
#D28A56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA548F

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

Preview Lab → · Contrast checker → · Palette generator →

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