#9F1F50#9F1F50

#9F1F50 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.166 H 3.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9F1F50
RGBrgb(159, 31, 80)
HSLhsl(337, 67%, 37%)
HSVhsv(337, 81%, 62%)
CMYKcmyk(0%, 80.5%, 49.7%, 37.6%)
CIE-LABlab(35.85, 53.93, 4.07)
CIE-LCHlch(35.85, 54.08, 4.32°)
OKLaboklab(46.86% 0.1653 0.0109)
OKLCHoklch(46.86% 0.166 3.8)
XYZxyz(16.2375, 8.9323, 8.4570)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F50 #1F9F6E
analogous
#9F1F90 #9F1F50 #9F2E1F
triadic
#9F1F50 #509F1F #1F509F
tetradic
#9F1F50 #909F1F #1F9F6E #2E1F9F
square
#9F1F50 #909F1F #1F9F6E #2E1F9F
split-complementary
#9F1F50 #1F9F2E #1F909F
monochromatic
#390B1C #6C1536 #9F1F50 #D2296A #DF5A8D

Accessibility & contrast

On white

7.54
#9F1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F50
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F50#FFFFFF#000000##FFFFFF
##9F1F501.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404451
Deuteranopia (green-blind)
#625D4D
Tritanopia (blue-blind)
#AD0035
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1f50;
/* rgb */ color: rgb(159, 31, 80);
/* oklch */ color: oklch(46.9% 0.166 3.8);
Tailwind
colors: {
  custom: {
    50: '#c16980',
    500: '#9f1f50',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f50;
$custom-light: #c16980;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f50",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 337.031,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46861,
    "c": 0.16562,
    "h": 3.8
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#9F1F50
secondary
#57C39A
accent
#EAA83E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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