#9F1E5A#9F1E5A

#9F1E5A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.170 H 358.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9F1E5A
RGBrgb(159, 30, 90)
HSLhsl(332, 68%, 37%)
HSVhsv(332, 81%, 62%)
CMYKcmyk(0%, 81.1%, 43.4%, 37.6%)
CIE-LABlab(36.06, 55.14, -2.07)
CIE-LCHlch(36.06, 55.18, 357.85°)
OKLaboklab(47.11% 0.1696 -0.0048)
OKLCHoklch(47.11% 0.17 358.4)
XYZxyz(16.6091, 9.0399, 10.5411)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E5A #1E9F63
analogous
#9F1E9B #9F1E5A #9F231E
triadic
#9F1E5A #5A9F1E #1E5A9F
tetradic
#9F1E5A #9B9F1E #1E9F63 #231E9F
square
#9F1E5A #9B9F1E #1E9F63 #231E9F
split-complementary
#9F1E5A #1E9F23 #1E9B9F
monochromatic
#380B20 #6C143D #9F1E5A #D22877 #DF5897

Accessibility & contrast

On white

7.48
#9F1E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1E5A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E5A#FFFFFF#000000##FFFFFF
##9F1E5A1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C455B
Deuteranopia (green-blind)
#5F5D57
Tritanopia (blue-blind)
#AD003A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1e5a;
/* rgb */ color: rgb(159, 30, 90);
/* oklch */ color: oklch(47.1% 0.170 358.4);
Tailwind
colors: {
  custom: {
    50: '#c16988',
    500: '#9f1e5a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e5a;
$custom-light: #c16988;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e5a",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 332.093,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.1697,
    "h": 358.4
  },
  "luminance": 0.09038
}

Semantic roles & 50–950 ramp

primary
#9F1E5A
secondary
#56C390
accent
#EB9A3D
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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