#9F1585#9F1585

#9F1585 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.5% C 0.200 H 337.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9F1585
RGBrgb(159, 21, 133)
HSLhsl(311, 77%, 35%)
HSVhsv(311, 87%, 62%)
CMYKcmyk(0%, 86.8%, 16.4%, 37.6%)
CIE-LABlab(37.12, 62.36, -27.61)
CIE-LCHlch(37.12, 68.20, 336.12°)
OKLaboklab(48.46% 0.185 -0.0751)
OKLCHoklch(48.46% 0.2 337.9)
XYZxyz(18.8004, 9.6026, 23.0491)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1585 #159F2F
analogous
#74159F #9F1585 #9F1540
triadic
#9F1585 #859F15 #15859F
tetradic
#9F1585 #9F7415 #159F2F #15409F
square
#9F1585 #9F7415 #159F2F #15409F
split-complementary
#9F1585 #409F15 #159F74
monochromatic
#33072B #690E58 #9F1585 #D51CB2 #E748C9

Accessibility & contrast

On white

7.19
#9F1585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F1585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1585
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1585#FFFFFF#000000##FFFFFF
##9F15851.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A88
Deuteranopia (green-blind)
#505F82
Tritanopia (blue-blind)
#A8204F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1585;
/* rgb */ color: rgb(159, 21, 133);
/* oklch */ color: oklch(48.5% 0.200 337.9);
Tailwind
colors: {
  custom: {
    50: '#c068a9',
    500: '#9f1585',
    950: '#000000',
  },
}
SCSS
$custom: #9f1585;
$custom-light: #c068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1585",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 133
  },
  "hsl": {
    "h": 311.304,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48464,
    "c": 0.19971,
    "h": 337.9
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#9F1585
secondary
#48C860
accent
#F35835
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1585

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

Preview Lab → · Contrast checker → · Palette generator →

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