#9F1D4D#9F1D4D

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

Color values

HEX#9F1D4D
RGBrgb(159, 29, 77)
HSLhsl(338, 69%, 37%)
HSVhsv(338, 82%, 62%)
CMYKcmyk(0%, 81.8%, 51.6%, 37.6%)
CIE-LABlab(35.57, 54.23, 5.61)
CIE-LCHlch(35.57, 54.52, 5.91°)
OKLaboklab(46.63% 0.1659 0.0148)
OKLCHoklch(46.63% 0.167 5.1)
XYZxyz(16.0785, 8.7878, 7.8693)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D4D #1D9F6F
analogous
#9F1D8E #9F1D4D #9F2E1D
triadic
#9F1D4D #4D9F1D #1D4D9F
tetradic
#9F1D4D #8E9F1D #1D9F6F #2E1D9F
square
#9F1D4D #8E9F1D #1D9F6F #2E1D9F
split-complementary
#9F1D4D #1D9F2E #1D8E9F
monochromatic
#370A1B #6B1434 #9F1D4D #D32666 #E05689

Accessibility & contrast

On white

7.62
#9F1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1D4D
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D4D#FFFFFF#000000##FFFFFF
##9F1D4D1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1d4d;
/* rgb */ color: rgb(159, 29, 77);
/* oklch */ color: oklch(46.6% 0.167 5.1);
Tailwind
colors: {
  custom: {
    50: '#c1687e',
    500: '#9f1d4d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d4d;
$custom-light: #c1687e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d4d",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 337.846,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46627,
    "c": 0.1666,
    "h": 5.1
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#9F1D4D
secondary
#54C49A
accent
#ECAB3C
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F1D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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