#9F1F4F#9F1F4F

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

Color values

HEX#9F1F4F
RGBrgb(159, 31, 79)
HSLhsl(338, 67%, 37%)
HSVhsv(338, 81%, 62%)
CMYKcmyk(0%, 80.5%, 50.3%, 37.6%)
CIE-LABlab(35.83, 53.84, 4.68)
CIE-LCHlch(35.83, 54.04, 4.96°)
OKLaboklab(46.83% 0.1649 0.0124)
OKLCHoklch(46.83% 0.165 4.3)
XYZxyz(16.2008, 8.9177, 8.2638)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F4F #1F9F6F
analogous
#9F1F8F #9F1F4F #9F2F1F
triadic
#9F1F4F #4F9F1F #1F4F9F
tetradic
#9F1F4F #8F9F1F #1F9F6F #2F1F9F
square
#9F1F4F #8F9F1F #1F9F6F #2F1F9F
split-complementary
#9F1F4F #1F9F2F #1F8F9F
monochromatic
#390B1C #6C1536 #9F1F4F #D22968 #DF5A8C

Accessibility & contrast

On white

7.55
#9F1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F4F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F4F#FFFFFF#000000##FFFFFF
##9F1F4F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404450
Deuteranopia (green-blind)
#625D4C
Tritanopia (blue-blind)
#AD0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1f4f;
/* rgb */ color: rgb(159, 31, 79);
/* oklch */ color: oklch(46.8% 0.165 4.3);
Tailwind
colors: {
  custom: {
    50: '#c16980',
    500: '#9f1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f4f;
$custom-light: #c16980;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f4f",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 337.5,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46831,
    "c": 0.16536,
    "h": 4.3
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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