#9F548F#9F548F

#9F548F is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.5% C 0.125 H 335.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9F548F
RGBrgb(159, 84, 143)
HSLhsl(313, 31%, 48%)
HSVhsv(313, 47%, 62%)
CMYKcmyk(0%, 47.2%, 10.1%, 37.6%)
CIE-LABlab(46.57, 39.25, -19.04)
CIE-LCHlch(46.57, 43.63, 334.12°)
OKLaboklab(55.53% 0.1136 -0.0513)
OKLCHoklch(55.53% 0.125 335.7)
XYZxyz(22.4264, 15.6962, 27.8297)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F548F #549F64
analogous
#89549F #9F548F #9F5469
triadic
#9F548F #8F9F54 #548F9F
tetradic
#9F548F #9F8954 #549F64 #54699F
square
#9F548F #9F8954 #549F64 #54699F
split-complementary
#9F548F #699F54 #549F89
monochromatic
#4F2A47 #773F6B #9F548F #B878AA #CDA0C3

Accessibility & contrast

On white

5.07
#9F548F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9F548F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F548F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F548F#FFFFFF#000000##FFFFFF
##9F548F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556791
Deuteranopia (green-blind)
#69728D
Tritanopia (blue-blind)
#A6576B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f548f;
/* rgb */ color: rgb(159, 84, 143);
/* oklch */ color: oklch(55.5% 0.125 335.7);
Tailwind
colors: {
  custom: {
    50: '#bd86b0',
    500: '#9f548f',
    950: '#000000',
  },
}
SCSS
$custom: #9f548f;
$custom-light: #bd86b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f548f",
  "rgb": {
    "r": 159,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 312.8,
    "s": 30.864,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55532,
    "c": 0.12465,
    "h": 335.7
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#9F548F
secondary
#94BA9D
accent
#C77761
background
#FBF8FA
surface
#F7F0F4
border
#D0CBCE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9F548F

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

Preview Lab → · Contrast checker → · Palette generator →

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