#9F1F4A#9F1F4A

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

Color values

HEX#9F1F4A
RGBrgb(159, 31, 74)
HSLhsl(340, 67%, 37%)
HSVhsv(340, 81%, 62%)
CMYKcmyk(0%, 80.5%, 53.5%, 37.6%)
CIE-LABlab(35.69, 53.43, 7.72)
CIE-LCHlch(35.69, 53.98, 8.22°)
OKLaboklab(46.69% 0.163 0.0199)
OKLCHoklch(46.69% 0.164 7)
XYZxyz(16.0256, 8.8476, 7.3411)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F4A #1F9F74
analogous
#9F1F8A #9F1F4A #9F341F
triadic
#9F1F4A #4A9F1F #1F4A9F
tetradic
#9F1F4A #8A9F1F #1F9F74 #341F9F
square
#9F1F4A #8A9F1F #1F9F74 #341F9F
split-complementary
#9F1F4A #1F9F34 #1F8A9F
monochromatic
#390B1A #6C1532 #9F1F4A #D22962 #DF5A86

Accessibility & contrast

On white

7.58
#9F1F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F1F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F4A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F4A#FFFFFF#000000##FFFFFF
##9F1F4A1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1f4a;
/* rgb */ color: rgb(159, 31, 74);
/* oklch */ color: oklch(46.7% 0.164 7.0);
Tailwind
colors: {
  custom: {
    50: '#c2697c',
    500: '#9f1f4a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f4a;
$custom-light: #c2697c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f4a",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 339.844,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46687,
    "c": 0.16421,
    "h": 7
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#9F1F4A
secondary
#57C39F
accent
#EAB03E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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