#9F1E5C#9F1E5C

#9F1E5C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.170 H 357.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9F1E5C
RGBrgb(159, 30, 92)
HSLhsl(331, 68%, 37%)
HSVhsv(331, 81%, 62%)
CMYKcmyk(0%, 81.1%, 42.1%, 37.6%)
CIE-LABlab(36.13, 55.33, -3.26)
CIE-LCHlch(36.13, 55.43, 356.63°)
OKLaboklab(47.18% 0.1703 -0.0079)
OKLCHoklch(47.18% 0.17 357.4)
XYZxyz(16.6954, 9.0744, 10.9955)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E5C #1E9F61
analogous
#9F1E9D #9F1E5C #9F211E
triadic
#9F1E5C #5C9F1E #1E5C9F
tetradic
#9F1E5C #9D9F1E #1E9F61 #211E9F
square
#9F1E5C #9D9F1E #1E9F61 #211E9F
split-complementary
#9F1E5C #1E9F21 #1E9D9F
monochromatic
#380B20 #6C143E #9F1E5C #D2287A #DF5899

Accessibility & contrast

On white

7.46
#9F1E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9F1E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E5C
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E5C#FFFFFF#000000##FFFFFF
##9F1E5C1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465D
Deuteranopia (green-blind)
#5F5E59
Tritanopia (blue-blind)
#AC023B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1e5c;
/* rgb */ color: rgb(159, 30, 92);
/* oklch */ color: oklch(47.2% 0.170 357.4);
Tailwind
colors: {
  custom: {
    50: '#c1698a',
    500: '#9f1e5c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e5c;
$custom-light: #c1698a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e5c",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 331.163,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47183,
    "c": 0.17045,
    "h": 357.4
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#9F1E5C
secondary
#56C38F
accent
#EB973D
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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