#9F1447#9F1447

#9F1447 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.172 H 7.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9F1447
RGBrgb(159, 20, 71)
HSLhsl(338, 78%, 35%)
HSVhsv(338, 87%, 62%)
CMYKcmyk(0%, 87.4%, 55.3%, 37.6%)
CIE-LABlab(34.66, 55.91, 8.22)
CIE-LCHlch(34.66, 56.51, 8.36°)
OKLaboklab(45.9% 0.1707 0.0211)
OKLCHoklch(45.9% 0.172 7)
XYZxyz(15.6871, 8.3285, 6.7416)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1447 #149F6C
analogous
#9F148C #9F1447 #9F2714
triadic
#9F1447 #479F14 #14479F
tetradic
#9F1447 #8C9F14 #149F6C #27149F
square
#9F1447 #8C9F14 #149F6C #27149F
split-complementary
#9F1447 #149F27 #148C9F
monochromatic
#320616 #690D2F #9F1447 #D51B5F #E84681

Accessibility & contrast

On white

7.88
#9F1447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9F1447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1447
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1447#FFFFFF#000000##FFFFFF
##9F14471.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#615B44
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1447;
/* rgb */ color: rgb(159, 20, 71);
/* oklch */ color: oklch(45.9% 0.172 7.0);
Tailwind
colors: {
  custom: {
    50: '#c26579',
    500: '#9f1447',
    950: '#000000',
  },
}
SCSS
$custom: #9f1447;
$custom-light: #c26579;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1447",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 337.986,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45904,
    "c": 0.17196,
    "h": 7
  },
  "luminance": 0.08326
}

Semantic roles & 50–950 ramp

primary
#9F1447
secondary
#46C899
accent
#F4AE34
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1447

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

Preview Lab → · Contrast checker → · Palette generator →

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