#9F1D4F#9F1D4F

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

Color values

HEX#9F1D4F
RGBrgb(159, 29, 79)
HSLhsl(337, 69%, 37%)
HSVhsv(337, 82%, 62%)
CMYKcmyk(0%, 81.8%, 50.3%, 37.6%)
CIE-LABlab(35.63, 54.40, 4.39)
CIE-LCHlch(35.63, 54.58, 4.62°)
OKLaboklab(46.69% 0.1667 0.0117)
OKLCHoklch(46.69% 0.167 4)
XYZxyz(16.1502, 8.8164, 8.2469)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D4F #1D9F6D
analogous
#9F1D90 #9F1D4F #9F2C1D
triadic
#9F1D4F #4F9F1D #1D4F9F
tetradic
#9F1D4F #909F1D #1D9F6D #2C1D9F
square
#9F1D4F #909F1D #1D9F6D #2C1D9F
split-complementary
#9F1D4F #1D9F2C #1D909F
monochromatic
#370A1C #6B1435 #9F1D4F #D32669 #E0568B

Accessibility & contrast

On white

7.60
#9F1D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1D4F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D4F#FFFFFF#000000##FFFFFF
##9F1D4F1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4450
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AD0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1d4f;
/* rgb */ color: rgb(159, 29, 79);
/* oklch */ color: oklch(46.7% 0.167 4.0);
Tailwind
colors: {
  custom: {
    50: '#c16880',
    500: '#9f1d4f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d4f;
$custom-light: #c16880;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d4f",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 336.923,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46687,
    "c": 0.16711,
    "h": 4
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#9F1D4F
secondary
#54C499
accent
#ECA83C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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