#9D1F6F#9D1F6F

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

Color values

HEX#9D1F6F
RGBrgb(157, 31, 111)
HSLhsl(322, 67%, 37%)
HSVhsv(322, 80%, 62%)
CMYKcmyk(0%, 80.3%, 29.3%, 38.4%)
CIE-LABlab(36.55, 56.65, -14.76)
CIE-LCHlch(36.55, 58.54, 345.40°)
OKLaboklab(47.65% 0.1728 -0.039)
OKLCHoklch(47.65% 0.177 347.3)
XYZxyz(17.2647, 9.2978, 15.9213)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F6F #1F9D4D
analogous
#8C1F9D #9D1F6F #9D1F30
triadic
#9D1F6F #6F9D1F #1F6F9D
tetradic
#9D1F6F #9D8C1F #1F9D4D #1F309D
square
#9D1F6F #9D8C1F #1F9D4D #1F309D
split-complementary
#9D1F6F #309D1F #1F9D8C
monochromatic
#370B27 #6A154B #9D1F6F #D02993 #DE58AD

Accessibility & contrast

On white

7.34
#9D1F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9D1F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F6F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F6F#FFFFFF#000000##FFFFFF
##9D1F6F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334871
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A81945
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1f6f;
/* rgb */ color: rgb(157, 31, 111);
/* oklch */ color: oklch(47.7% 0.177 347.3);
Tailwind
colors: {
  custom: {
    50: '#be6a98',
    500: '#9d1f6f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f6f;
$custom-light: #be6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f6f",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 321.905,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47655,
    "c": 0.1771,
    "h": 347.3
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#9D1F6F
secondary
#56C27D
accent
#EA7D3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D1F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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