#9F1751#9F1751

#9F1751 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.172 H 2.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9F1751
RGBrgb(159, 23, 81)
HSLhsl(334, 75%, 36%)
HSVhsv(334, 86%, 62%)
CMYKcmyk(0%, 85.5%, 49.1%, 37.6%)
CIE-LABlab(35.16, 56.07, 2.43)
CIE-LCHlch(35.16, 56.12, 2.48°)
OKLaboklab(46.36% 0.1723 0.0068)
OKLCHoklch(46.36% 0.172 2.3)
XYZxyz(16.0911, 8.5801, 8.5918)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1751 #179F65
analogous
#9F1795 #9F1751 #9F2117
triadic
#9F1751 #519F17 #17519F
tetradic
#9F1751 #959F17 #179F65 #21179F
square
#9F1751 #959F17 #179F65 #21179F
split-complementary
#9F1751 #179F21 #17959F
monochromatic
#34081B #6A0F36 #9F1751 #D41F6C #E54B8D

Accessibility & contrast

On white

7.73
#9F1751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9F1751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1751
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1751#FFFFFF#000000##FFFFFF
##9F17511.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4252
Deuteranopia (green-blind)
#605C4E
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1751;
/* rgb */ color: rgb(159, 23, 81);
/* oklch */ color: oklch(46.4% 0.172 2.3);
Tailwind
colors: {
  custom: {
    50: '#c16681',
    500: '#9f1751',
    950: '#000000',
  },
}
SCSS
$custom: #9f1751;
$custom-light: #c16681;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1751",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 81
  },
  "hsl": {
    "h": 334.412,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46364,
    "c": 0.17239,
    "h": 2.3
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#9F1751
secondary
#4BC792
accent
#F1A236
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1751

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

Preview Lab → · Contrast checker → · Palette generator →

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