#9F1E56#9F1E56

#9F1E56 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.168 H 0.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9F1E56
RGBrgb(159, 30, 86)
HSLhsl(334, 68%, 37%)
HSVhsv(334, 81%, 62%)
CMYKcmyk(0%, 81.1%, 45.9%, 37.6%)
CIE-LABlab(35.93, 54.75, 0.31)
CIE-LCHlch(35.93, 54.75, 0.33°)
OKLaboklab(46.98% 0.1683 0.0014)
OKLCHoklch(46.98% 0.168 0.5)
XYZxyz(16.4434, 8.9736, 9.6685)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E56 #1E9F67
analogous
#9F1E97 #9F1E56 #9F261E
triadic
#9F1E56 #569F1E #1E569F
tetradic
#9F1E56 #979F1E #1E9F67 #261E9F
square
#9F1E56 #979F1E #1E9F67 #261E9F
split-complementary
#9F1E56 #1E9F26 #1E979F
monochromatic
#380B1E #6C143A #9F1E56 #D22872 #DF5893

Accessibility & contrast

On white

7.52
#9F1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9F1E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E56
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E56#FFFFFF#000000##FFFFFF
##9F1E561.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4557
Deuteranopia (green-blind)
#605D53
Tritanopia (blue-blind)
#AD0038
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1e56;
/* rgb */ color: rgb(159, 30, 86);
/* oklch */ color: oklch(47.0% 0.168 0.5);
Tailwind
colors: {
  custom: {
    50: '#c16985',
    500: '#9f1e56',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e56;
$custom-light: #c16985;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e56",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 333.953,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46978,
    "c": 0.1683,
    "h": 0.5
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#9F1E56
secondary
#56C394
accent
#EB9F3D
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1E56

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

Preview Lab → · Contrast checker → · Palette generator →

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