#9F1F49#9F1F49

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

Color values

HEX#9F1F49
RGBrgb(159, 31, 73)
HSLhsl(340, 67%, 37%)
HSVhsv(340, 81%, 62%)
CMYKcmyk(0%, 80.5%, 54.1%, 37.6%)
CIE-LABlab(35.66, 53.35, 8.33)
CIE-LCHlch(35.66, 53.99, 8.87°)
OKLaboklab(46.66% 0.1626 0.0214)
OKLCHoklch(46.66% 0.164 7.5)
XYZxyz(15.9922, 8.8342, 7.1651)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F49 #1F9F75
analogous
#9F1F89 #9F1F49 #9F351F
triadic
#9F1F49 #499F1F #1F499F
tetradic
#9F1F49 #899F1F #1F9F75 #351F9F
square
#9F1F49 #899F1F #1F9F75 #351F9F
split-complementary
#9F1F49 #1F9F35 #1F899F
monochromatic
#390B1A #6C1531 #9F1F49 #D22961 #DF5A85

Accessibility & contrast

On white

7.59
#9F1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F49
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F49#FFFFFF#000000##FFFFFF
##9F1F491.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1f49;
/* rgb */ color: rgb(159, 31, 73);
/* oklch */ color: oklch(46.7% 0.164 7.5);
Tailwind
colors: {
  custom: {
    50: '#c2697b',
    500: '#9f1f49',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f49;
$custom-light: #c2697b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f49",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 340.313,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46659,
    "c": 0.16402,
    "h": 7.5
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#9F1F49
secondary
#57C39F
accent
#EAB23E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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