#9F1D4E#9F1D4E

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

Color values

HEX#9F1D4E
RGBrgb(159, 29, 78)
HSLhsl(337, 69%, 37%)
HSVhsv(337, 82%, 62%)
CMYKcmyk(0%, 81.8%, 50.9%, 37.6%)
CIE-LABlab(35.60, 54.32, 5.00)
CIE-LCHlch(35.60, 54.55, 5.26°)
OKLaboklab(46.66% 0.1663 0.0133)
OKLCHoklch(46.66% 0.167 4.6)
XYZxyz(16.1140, 8.8020, 8.0567)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D4E #1D9F6E
analogous
#9F1D8F #9F1D4E #9F2D1D
triadic
#9F1D4E #4E9F1D #1D4E9F
tetradic
#9F1D4E #8F9F1D #1D9F6E #2D1D9F
square
#9F1D4E #8F9F1D #1D9F6E #2D1D9F
split-complementary
#9F1D4E #1D9F2D #1D8F9F
monochromatic
#370A1B #6B1435 #9F1D4E #D32667 #E0568A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1D4E#FFFFFF#000000##FFFFFF
##9F1D4E1.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)
#3F434F
Deuteranopia (green-blind)
#615D4B
Tritanopia (blue-blind)
#AE0033
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1d4e;
/* rgb */ color: rgb(159, 29, 78);
/* oklch */ color: oklch(46.7% 0.167 4.6);
Tailwind
colors: {
  custom: {
    50: '#c1687f',
    500: '#9f1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d4e;
$custom-light: #c1687f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d4e",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 337.385,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46657,
    "c": 0.16686,
    "h": 4.6
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#9F1D4E
secondary
#54C49A
accent
#ECAA3C
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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