#9F1F52#9F1F52

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

Color values

HEX#9F1F52
RGBrgb(159, 31, 82)
HSLhsl(336, 67%, 37%)
HSVhsv(336, 81%, 62%)
CMYKcmyk(0%, 80.5%, 48.4%, 37.6%)
CIE-LABlab(35.91, 54.11, 2.86)
CIE-LCHlch(35.91, 54.18, 3.03°)
OKLaboklab(46.92% 0.166 0.0079)
OKLCHoklch(46.92% 0.166 2.7)
XYZxyz(16.3124, 8.9623, 8.8519)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F52 #1F9F6C
analogous
#9F1F92 #9F1F52 #9F2C1F
triadic
#9F1F52 #529F1F #1F529F
tetradic
#9F1F52 #929F1F #1F9F6C #2C1F9F
square
#9F1F52 #929F1F #1F9F6C #2C1F9F
split-complementary
#9F1F52 #1F9F2C #1F929F
monochromatic
#390B1D #6C1538 #9F1F52 #D2296C #DF5A8F

Accessibility & contrast

On white

7.52
#9F1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F52
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F52#FFFFFF#000000##FFFFFF
##9F1F521.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4553
Deuteranopia (green-blind)
#615D4F
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1f52;
/* rgb */ color: rgb(159, 31, 82);
/* oklch */ color: oklch(46.9% 0.166 2.7);
Tailwind
colors: {
  custom: {
    50: '#c16982',
    500: '#9f1f52',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f52;
$custom-light: #c16982;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f52",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 336.094,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46923,
    "c": 0.16617,
    "h": 2.7
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#9F1F52
secondary
#57C398
accent
#EAA53E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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