#9D548F#9D548F

#9D548F is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.3% C 0.123 H 334.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9D548F
RGBrgb(157, 84, 143)
HSLhsl(312, 30%, 47%)
HSVhsv(312, 46%, 62%)
CMYKcmyk(0%, 46.5%, 8.9%, 38.4%)
CIE-LABlab(46.30, 38.60, -19.48)
CIE-LCHlch(46.30, 43.24, 333.22°)
OKLaboklab(55.27% 0.1112 -0.0526)
OKLCHoklch(55.27% 0.123 334.7)
XYZxyz(22.0328, 15.4933, 27.8113)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D548F #549D62
analogous
#87549D #9D548F #9D546B
triadic
#9D548F #8F9D54 #548F9D
tetradic
#9D548F #9D8754 #549D62 #546B9D
square
#9D548F #9D8754 #549D62 #546B9D
split-complementary
#9D548F #6B9D54 #549D87
monochromatic
#4D2946 #753F6B #9D548F #B778AB #CC9FC3

Accessibility & contrast

On white

5.12
#9D548F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9D548F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D548F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D548F#FFFFFF#000000##FFFFFF
##9D548F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#68728D
Tritanopia (blue-blind)
#A3586B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d548f;
/* rgb */ color: rgb(157, 84, 143);
/* oklch */ color: oklch(55.3% 0.123 334.7);
Tailwind
colors: {
  custom: {
    50: '#bb86b0',
    500: '#9d548f',
    950: '#000000',
  },
}
SCSS
$custom: #9d548f;
$custom-light: #bb86b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d548f",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 311.507,
    "s": 30.29,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55272,
    "c": 0.12305,
    "h": 334.7
  },
  "luminance": 0.15492
}

Semantic roles & 50–950 ramp

primary
#9D548F
secondary
#94B99B
accent
#C77561
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9D548F

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

Preview Lab → · Contrast checker → · Palette generator →

#9D548F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva