#9D1F6D#9D1F6D

#9D1F6D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.176 H 348.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9D1F6D
RGBrgb(157, 31, 109)
HSLhsl(323, 67%, 37%)
HSVhsv(323, 80%, 62%)
CMYKcmyk(0%, 80.3%, 30.6%, 38.4%)
CIE-LABlab(36.47, 56.41, -13.62)
CIE-LCHlch(36.47, 58.03, 346.42°)
OKLaboklab(47.57% 0.1723 -0.0358)
OKLCHoklch(47.57% 0.176 348.3)
XYZxyz(17.1558, 9.2542, 15.3478)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F6D #1F9D4F
analogous
#8E1F9D #9D1F6D #9D1F2E
triadic
#9D1F6D #6D9D1F #1F6D9D
tetradic
#9D1F6D #9D8E1F #1F9D4F #1F2E9D
square
#9D1F6D #9D8E1F #1F9D4F #1F2E9D
split-complementary
#9D1F6D #2E9D1F #1F9D8E
monochromatic
#370B26 #6A154A #9D1F6D #D02990 #DE58AB

Accessibility & contrast

On white

7.37
#9D1F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9D1F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F6D
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F6D#FFFFFF#000000##FFFFFF
##9D1F6D1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34486F
Deuteranopia (green-blind)
#595E6A
Tritanopia (blue-blind)
#A91844
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1f6d;
/* rgb */ color: rgb(157, 31, 109);
/* oklch */ color: oklch(47.6% 0.176 348.3);
Tailwind
colors: {
  custom: {
    50: '#be6a97',
    500: '#9d1f6d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f6d;
$custom-light: #be6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f6d",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 322.857,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47568,
    "c": 0.17601,
    "h": 348.3
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#9D1F6D
secondary
#56C27F
accent
#EA7F3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D1F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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