#9D1F77#9D1F77

#9D1F77 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.182 H 343.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9D1F77
RGBrgb(157, 31, 119)
HSLhsl(318, 67%, 37%)
HSVhsv(318, 80%, 62%)
CMYKcmyk(0%, 80.3%, 24.2%, 38.4%)
CIE-LABlab(36.90, 57.66, -19.26)
CIE-LCHlch(36.90, 60.80, 341.53°)
OKLaboklab(48.02% 0.1743 -0.0515)
OKLCHoklch(48.02% 0.182 343.5)
XYZxyz(17.7251, 9.4819, 18.3459)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F77 #1F9D45
analogous
#841F9D #9D1F77 #9D1F38
triadic
#9D1F77 #779D1F #1F779D
tetradic
#9D1F77 #9D841F #1F9D45 #1F389D
square
#9D1F77 #9D841F #1F9D45 #1F389D
split-complementary
#9D1F77 #389D1F #1F9D84
monochromatic
#370B2A #6A1550 #9D1F77 #D0299E #DE58B6

Accessibility & contrast

On white

7.25
#9D1F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D1F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F77
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F77#FFFFFF#000000##FFFFFF
##9D1F771.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A79
Deuteranopia (green-blind)
#565E74
Tritanopia (blue-blind)
#A81F49
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1f77;
/* rgb */ color: rgb(157, 31, 119);
/* oklch */ color: oklch(48.0% 0.182 343.5);
Tailwind
colors: {
  custom: {
    50: '#be6a9e',
    500: '#9d1f77',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f77;
$custom-light: #be6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f77",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 318.095,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.18175,
    "h": 343.5
  },
  "luminance": 0.0948
}

Semantic roles & 50–950 ramp

primary
#9D1F77
secondary
#56C276
accent
#EA723E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1F77

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

Preview Lab → · Contrast checker → · Palette generator →

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