#9F507A#9F507A

#9F507A is a mid, moderate pink. Relative luminance 0.145; OKLCH L 54.1% C 0.116 H 348.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9F507A
RGBrgb(159, 80, 122)
HSLhsl(328, 33%, 47%)
HSVhsv(328, 50%, 62%)
CMYKcmyk(0%, 49.7%, 23.3%, 37.6%)
CIE-LABlab(44.96, 37.96, -8.81)
CIE-LCHlch(44.96, 38.97, 346.93°)
OKLaboklab(54.07% 0.1139 -0.023)
OKLCHoklch(54.07% 0.116 348.6)
XYZxyz(20.6801, 14.5150, 20.1211)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F507A #509F75
analogous
#9D509F #9F507A #9F5053
triadic
#9F507A #7A9F50 #507A9F
tetradic
#9F507A #9F9D50 #509F75 #50539F
square
#9F507A #9F9D50 #509F75 #50539F
split-complementary
#9F507A #539F50 #509F9D
monochromatic
#4E273C #763C5B #9F507A #B97398 #CD9CB6

Accessibility & contrast

On white

5.38
#9F507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9F507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F507A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F507A#FFFFFF#000000##FFFFFF
##9F507A1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58627B
Deuteranopia (green-blind)
#6D6F78
Tritanopia (blue-blind)
#A94E60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f507a;
/* rgb */ color: rgb(159, 80, 122);
/* oklch */ color: oklch(54.1% 0.116 348.6);
Tailwind
colors: {
  custom: {
    50: '#bd84a0',
    500: '#9f507a',
    950: '#000000',
  },
}
SCSS
$custom: #9f507a;
$custom-light: #bd84a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f507a",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 328.101,
    "s": 33.054,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54067,
    "c": 0.11619,
    "h": 348.6
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#9F507A
secondary
#91BAA4
accent
#C9915F
background
#FBF8F9
surface
#F7EFF2
border
#D0CACC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #9F507A

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

Preview Lab → · Contrast checker → · Palette generator →

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