#9F1E4A#9F1E4A

#9F1E4A is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.165 H 6.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9F1E4A
RGBrgb(159, 30, 74)
HSLhsl(340, 68%, 37%)
HSVhsv(340, 81%, 62%)
CMYKcmyk(0%, 81.1%, 53.5%, 37.6%)
CIE-LABlab(35.59, 53.71, 7.58)
CIE-LCHlch(35.59, 54.24, 8.03°)
OKLaboklab(46.61% 0.1639 0.0196)
OKLCHoklch(46.61% 0.165 6.8)
XYZxyz(15.9999, 8.7962, 7.3326)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E4A #1E9F73
analogous
#9F1E8B #9F1E4A #9F331E
triadic
#9F1E4A #4A9F1E #1E4A9F
tetradic
#9F1E4A #8B9F1E #1E9F73 #331E9F
square
#9F1E4A #8B9F1E #1E9F73 #331E9F
split-complementary
#9F1E4A #1E9F33 #1E8B9F
monochromatic
#380B1A #6C1432 #9F1E4A #D22862 #DF5886

Accessibility & contrast

On white

7.61
#9F1E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1E4A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E4A#FFFFFF#000000##FFFFFF
##9F1E4A1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41434B
Deuteranopia (green-blind)
#625D47
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1e4a;
/* rgb */ color: rgb(159, 30, 74);
/* oklch */ color: oklch(46.6% 0.165 6.8);
Tailwind
colors: {
  custom: {
    50: '#c2687c',
    500: '#9f1e4a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e4a;
$custom-light: #c2687c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e4a",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 339.535,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46613,
    "c": 0.16508,
    "h": 6.8
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

primary
#9F1E4A
secondary
#56C39E
accent
#EBB03D
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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