#9F1757#9F1757

#9F1757 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.174 H 359.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9F1757
RGBrgb(159, 23, 87)
HSLhsl(332, 75%, 36%)
HSVhsv(332, 86%, 62%)
CMYKcmyk(0%, 85.5%, 45.3%, 37.6%)
CIE-LABlab(35.35, 56.61, -1.19)
CIE-LCHlch(35.35, 56.62, 358.80°)
OKLaboklab(46.56% 0.1743 -0.0024)
OKLCHoklch(46.56% 0.174 359.2)
XYZxyz(16.3261, 8.6741, 9.8295)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1757 #179F5F
analogous
#9F179B #9F1757 #9F1B17
triadic
#9F1757 #579F17 #17579F
tetradic
#9F1757 #9B9F17 #179F5F #1B179F
square
#9F1757 #9B9F17 #179F5F #1B179F
split-complementary
#9F1757 #179F1B #179B9F
monochromatic
#34081C #6A0F3A #9F1757 #D41F74 #E54B94

Accessibility & contrast

On white

7.68
#9F1757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F1757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1757
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1757#FFFFFF#000000##FFFFFF
##9F17571.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4358
Deuteranopia (green-blind)
#5E5C54
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1757;
/* rgb */ color: rgb(159, 23, 87);
/* oklch */ color: oklch(46.6% 0.174 359.2);
Tailwind
colors: {
  custom: {
    50: '#c16786',
    500: '#9f1757',
    950: '#000000',
  },
}
SCSS
$custom: #9f1757;
$custom-light: #c16786;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1757",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 331.765,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46561,
    "c": 0.17433,
    "h": 359.2
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#9F1757
secondary
#4BC78D
accent
#F19936
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1757

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

Preview Lab → · Contrast checker → · Palette generator →

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