#9F1F47#9F1F47

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

Color values

HEX#9F1F47
RGBrgb(159, 31, 71)
HSLhsl(341, 67%, 37%)
HSVhsv(341, 81%, 62%)
CMYKcmyk(0%, 80.5%, 55.3%, 37.6%)
CIE-LABlab(35.61, 53.19, 9.55)
CIE-LCHlch(35.61, 54.04, 10.18°)
OKLaboklab(46.61% 0.1618 0.0243)
OKLCHoklch(46.61% 0.164 8.5)
XYZxyz(15.9269, 8.8081, 6.8215)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F47 #1F9F77
analogous
#9F1F87 #9F1F47 #9F371F
triadic
#9F1F47 #479F1F #1F479F
tetradic
#9F1F47 #879F1F #1F9F77 #371F9F
square
#9F1F47 #879F1F #1F9F77 #371F9F
split-complementary
#9F1F47 #1F9F37 #1F879F
monochromatic
#390B19 #6C1530 #9F1F47 #D2295E #DF5A83

Accessibility & contrast

On white

7.61
#9F1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9F1F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F47
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F47#FFFFFF#000000##FFFFFF
##9F1F471.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424348
Deuteranopia (green-blind)
#635D44
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1f47;
/* rgb */ color: rgb(159, 31, 71);
/* oklch */ color: oklch(46.6% 0.164 8.5);
Tailwind
colors: {
  custom: {
    50: '#c26979',
    500: '#9f1f47',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f47;
$custom-light: #c26979;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f47",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 341.25,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46605,
    "c": 0.16366,
    "h": 8.5
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#9F1F47
secondary
#57C3A1
accent
#EAB43E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1F47

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

Preview Lab → · Contrast checker → · Palette generator →

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