#9F1F4D#9F1F4D

#9F1F4D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.165 H 5.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9F1F4D
RGBrgb(159, 31, 77)
HSLhsl(338, 67%, 37%)
HSVhsv(338, 81%, 62%)
CMYKcmyk(0%, 80.5%, 51.6%, 37.6%)
CIE-LABlab(35.77, 53.67, 5.89)
CIE-LCHlch(35.77, 53.99, 6.26°)
OKLaboklab(46.77% 0.1641 0.0155)
OKLCHoklch(46.77% 0.165 5.4)
XYZxyz(16.1291, 8.8890, 7.8862)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F4D #1F9F71
analogous
#9F1F8D #9F1F4D #9F311F
triadic
#9F1F4D #4D9F1F #1F4D9F
tetradic
#9F1F4D #8D9F1F #1F9F71 #311F9F
square
#9F1F4D #8D9F1F #1F9F71 #311F9F
split-complementary
#9F1F4D #1F9F31 #1F8D9F
monochromatic
#390B1B #6C1534 #9F1F4D #D22966 #DF5A89

Accessibility & contrast

On white

7.56
#9F1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F1F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F4D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F4D#FFFFFF#000000##FFFFFF
##9F1F4D1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1f4d;
/* rgb */ color: rgb(159, 31, 77);
/* oklch */ color: oklch(46.8% 0.165 5.4);
Tailwind
colors: {
  custom: {
    50: '#c1697e',
    500: '#9f1f4d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f4d;
$custom-light: #c1697e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f4d",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 338.438,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46772,
    "c": 0.16487,
    "h": 5.4
  },
  "luminance": 0.08887
}

Semantic roles & 50–950 ramp

primary
#9F1F4D
secondary
#57C39C
accent
#EAAC3E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F1F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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