#9D1F62#9D1F62

#9D1F62 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.171 H 353.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9D1F62
RGBrgb(157, 31, 98)
HSLhsl(328, 67%, 37%)
HSVhsv(328, 80%, 62%)
CMYKcmyk(0%, 80.3%, 37.6%, 38.4%)
CIE-LABlab(36.05, 55.15, -7.27)
CIE-LCHlch(36.05, 55.63, 352.49°)
OKLaboklab(47.12% 0.1695 -0.0185)
OKLCHoklch(47.12% 0.171 353.8)
XYZxyz(16.6003, 9.0320, 12.4221)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F62 #1F9D5A
analogous
#991F9D #9D1F62 #9D1F23
triadic
#9D1F62 #629D1F #1F629D
tetradic
#9D1F62 #9D991F #1F9D5A #1F239D
square
#9D1F62 #9D991F #1F9D5A #1F239D
split-complementary
#9D1F62 #239D1F #1F9D99
monochromatic
#370B22 #6A1542 #9D1F62 #D02982 #DE589F

Accessibility & contrast

On white

7.48
#9D1F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9D1F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F62
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F62#FFFFFF#000000##FFFFFF
##9D1F621.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#5C5D5F
Tritanopia (blue-blind)
#AA0E3E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d1f62;
/* rgb */ color: rgb(157, 31, 98);
/* oklch */ color: oklch(47.1% 0.171 353.8);
Tailwind
colors: {
  custom: {
    50: '#bf698e',
    500: '#9d1f62',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f62;
$custom-light: #bf698e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f62",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 328.095,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.17052,
    "h": 353.8
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#9D1F62
secondary
#56C288
accent
#EA8E3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D1F62

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

Preview Lab → · Contrast checker → · Palette generator →

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