#9D1F6E#9D1F6E

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

Color values

HEX#9D1F6E
RGBrgb(157, 31, 110)
HSLhsl(322, 67%, 37%)
HSVhsv(322, 80%, 62%)
CMYKcmyk(0%, 80.3%, 29.9%, 38.4%)
CIE-LABlab(36.51, 56.53, -14.19)
CIE-LCHlch(36.51, 58.29, 345.91°)
OKLaboklab(47.61% 0.1725 -0.0374)
OKLCHoklch(47.61% 0.177 347.8)
XYZxyz(17.2100, 9.2759, 15.6329)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F6E #1F9D4E
analogous
#8D1F9D #9D1F6E #9D1F2F
triadic
#9D1F6E #6E9D1F #1F6E9D
tetradic
#9D1F6E #9D8D1F #1F9D4E #1F2F9D
square
#9D1F6E #9D8D1F #1F9D4E #1F2F9D
split-complementary
#9D1F6E #2F9D1F #1F9D8D
monochromatic
#370B26 #6A154A #9D1F6E #D02992 #DE58AC

Accessibility & contrast

On white

7.36
#9D1F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1F6E
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F6E#FFFFFF#000000##FFFFFF
##9D1F6E1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#595E6B
Tritanopia (blue-blind)
#A91844
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1f6e;
/* rgb */ color: rgb(157, 31, 110);
/* oklch */ color: oklch(47.6% 0.177 347.8);
Tailwind
colors: {
  custom: {
    50: '#be6a97',
    500: '#9d1f6e',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f6e;
$custom-light: #be6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f6e",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 322.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47611,
    "c": 0.17655,
    "h": 347.8
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#9D1F6E
secondary
#56C27E
accent
#EA7E3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D1F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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