#9D1F70#9D1F70

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

Color values

HEX#9D1F70
RGBrgb(157, 31, 112)
HSLhsl(321, 67%, 37%)
HSVhsv(321, 80%, 62%)
CMYKcmyk(0%, 80.3%, 28.7%, 38.4%)
CIE-LABlab(36.59, 56.78, -15.33)
CIE-LCHlch(36.59, 58.81, 344.89°)
OKLaboklab(47.7% 0.173 -0.0406)
OKLCHoklch(47.7% 0.178 346.8)
XYZxyz(17.3201, 9.3199, 16.2129)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F70 #1F9D4C
analogous
#8B1F9D #9D1F70 #9D1F31
triadic
#9D1F70 #709D1F #1F709D
tetradic
#9D1F70 #9D8B1F #1F9D4C #1F319D
square
#9D1F70 #9D8B1F #1F9D4C #1F319D
split-complementary
#9D1F70 #319D1F #1F9D8B
monochromatic
#370B27 #6A154C #9D1F70 #D02994 #DE58AE

Accessibility & contrast

On white

7.33
#9D1F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1F70
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F70#FFFFFF#000000##FFFFFF
##9D1F701.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334872
Deuteranopia (green-blind)
#585E6D
Tritanopia (blue-blind)
#A81A45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1f70;
/* rgb */ color: rgb(157, 31, 112);
/* oklch */ color: oklch(47.7% 0.178 346.8);
Tailwind
colors: {
  custom: {
    50: '#be6a99',
    500: '#9d1f70',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f70;
$custom-light: #be6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f70",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 321.429,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47699,
    "c": 0.17766,
    "h": 346.8
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#9D1F70
secondary
#56C27C
accent
#EA7B3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1F70

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

Preview Lab → · Contrast checker → · Palette generator →

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