#9F4B7C#9F4B7C

#9F4B7C is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.4% C 0.126 H 346.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9F4B7C
RGBrgb(159, 75, 124)
HSLhsl(325, 36%, 46%)
HSVhsv(325, 53%, 62%)
CMYKcmyk(0%, 52.8%, 22%, 37.6%)
CIE-LABlab(44.03, 40.87, -11.43)
CIE-LCHlch(44.03, 42.43, 344.38°)
OKLaboklab(53.39% 0.1224 -0.0301)
OKLCHoklch(53.39% 0.126 346.2)
XYZxyz(20.4528, 13.8600, 20.6629)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4B7C #4B9F6E
analogous
#984B9F #9F4B7C #9F4B52
triadic
#9F4B7C #7C9F4B #4B7C9F
tetradic
#9F4B7C #9F984B #4B9F6E #4B529F
square
#9F4B7C #9F984B #4B9F6E #4B529F
split-complementary
#9F4B7C #529F4B #4B9F98
monochromatic
#4C243B #75375C #9F4B7C #BA6D9A #CE97B7

Accessibility & contrast

On white

5.57
#9F4B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9F4B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4B7C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4B7C#FFFFFF#000000##FFFFFF
##9F4B7C1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7E
Deuteranopia (green-blind)
#696D7A
Tritanopia (blue-blind)
#A84A5E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f4b7c;
/* rgb */ color: rgb(159, 75, 124);
/* oklch */ color: oklch(53.4% 0.126 346.2);
Tailwind
colors: {
  custom: {
    50: '#be80a2',
    500: '#9f4b7c',
    950: '#000000',
  },
}
SCSS
$custom: #9f4b7c;
$custom-light: #be80a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4b7c",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 124
  },
  "hsl": {
    "h": 325,
    "s": 35.897,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53393,
    "c": 0.12601,
    "h": 346.2
  },
  "luminance": 0.13858
}

Semantic roles & 50–950 ramp

primary
#9F4B7C
secondary
#8CBA9F
accent
#CC8B5C
background
#FBF8F9
surface
#F7EFF2
border
#D0CACC
text
#120A0F
muted
#817C7E

Preview Lab

Preview with #9F4B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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