#9F1E4C#9F1E4C

#9F1E4C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.166 H 5.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9F1E4C
RGBrgb(159, 30, 76)
HSLhsl(339, 68%, 37%)
HSVhsv(339, 81%, 62%)
CMYKcmyk(0%, 81.1%, 52.2%, 37.6%)
CIE-LABlab(35.64, 53.87, 6.36)
CIE-LCHlch(35.64, 54.25, 6.73°)
OKLaboklab(46.67% 0.1647 0.0166)
OKLCHoklch(46.67% 0.166 5.8)
XYZxyz(16.0683, 8.8236, 7.6931)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E4C #1E9F71
analogous
#9F1E8C #9F1E4C #9F311E
triadic
#9F1E4C #4C9F1E #1E4C9F
tetradic
#9F1E4C #8C9F1E #1E9F71 #311E9F
square
#9F1E4C #8C9F1E #1E9F71 #311E9F
split-complementary
#9F1E4C #1E9F31 #1E8C9F
monochromatic
#380B1B #6C1433 #9F1E4C #D22865 #DF5888

Accessibility & contrast

On white

7.60
#9F1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9F1E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E4C
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E4C#FFFFFF#000000##FFFFFF
##9F1E4C1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444D
Deuteranopia (green-blind)
#625D49
Tritanopia (blue-blind)
#AE0033
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1e4c;
/* rgb */ color: rgb(159, 30, 76);
/* oklch */ color: oklch(46.7% 0.166 5.8);
Tailwind
colors: {
  custom: {
    50: '#c1687d',
    500: '#9f1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e4c;
$custom-light: #c1687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e4c",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 338.605,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4667,
    "c": 0.16551,
    "h": 5.8
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#9F1E4C
secondary
#56C39C
accent
#EBAD3D
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F1E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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