#9D1F59#9D1F59

#9D1F59 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.167 H 358.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9D1F59
RGBrgb(157, 31, 89)
HSLhsl(332, 67%, 37%)
HSVhsv(332, 80%, 62%)
CMYKcmyk(0%, 80.3%, 43.3%, 38.4%)
CIE-LABlab(35.74, 54.22, -1.95)
CIE-LCHlch(35.74, 54.25, 357.94°)
OKLaboklab(46.79% 0.1668 -0.0045)
OKLCHoklch(46.79% 0.167 358.5)
XYZxyz(16.1990, 8.8715, 10.3086)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F59 #1F9D63
analogous
#9D1F98 #9D1F59 #9D241F
triadic
#9D1F59 #599D1F #1F599D
tetradic
#9D1F59 #989D1F #1F9D63 #241F9D
square
#9D1F59 #989D1F #1F9D63 #241F9D
split-complementary
#9D1F59 #1F9D24 #1F989D
monochromatic
#370B1F #6A153C #9D1F59 #D02976 #DE5896

Accessibility & contrast

On white

7.57
#9D1F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9D1F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F59
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F59#FFFFFF#000000##FFFFFF
##9D1F591.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C455A
Deuteranopia (green-blind)
#5E5D56
Tritanopia (blue-blind)
#AA0339
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1f59;
/* rgb */ color: rgb(157, 31, 89);
/* oklch */ color: oklch(46.8% 0.167 358.5);
Tailwind
colors: {
  custom: {
    50: '#bf6987',
    500: '#9d1f59',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f59;
$custom-light: #bf6987;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f59",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 332.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46794,
    "c": 0.16681,
    "h": 358.5
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#9D1F59
secondary
#56C290
accent
#EA9B3E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1F59

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

Preview Lab → · Contrast checker → · Palette generator →

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