#9D1F66#9D1F66

#9D1F66 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.172 H 351.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9D1F66
RGBrgb(157, 31, 102)
HSLhsl(326, 67%, 37%)
HSVhsv(326, 80%, 62%)
CMYKcmyk(0%, 80.3%, 35%, 38.4%)
CIE-LABlab(36.19, 55.60, -9.60)
CIE-LCHlch(36.19, 56.42, 350.21°)
OKLaboklab(47.28% 0.1706 -0.0248)
OKLCHoklch(47.28% 0.172 351.7)
XYZxyz(16.7939, 9.1094, 13.4417)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F66 #1F9D56
analogous
#951F9D #9D1F66 #9D1F27
triadic
#9D1F66 #669D1F #1F669D
tetradic
#9D1F66 #9D951F #1F9D56 #1F279D
square
#9D1F66 #9D951F #1F9D56 #1F279D
split-complementary
#9D1F66 #279D1F #1F9D95
monochromatic
#370B24 #6A1545 #9D1F66 #D02987 #DE58A4

Accessibility & contrast

On white

7.44
#9D1F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9D1F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F66
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F66#FFFFFF#000000##FFFFFF
##9D1F661.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374768
Deuteranopia (green-blind)
#5B5D63
Tritanopia (blue-blind)
#A91240
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d1f66;
/* rgb */ color: rgb(157, 31, 102);
/* oklch */ color: oklch(47.3% 0.172 351.7);
Tailwind
colors: {
  custom: {
    50: '#bf6991',
    500: '#9d1f66',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f66;
$custom-light: #bf6991;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f66",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 326.19,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47278,
    "c": 0.17241,
    "h": 351.7
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#9D1F66
secondary
#56C285
accent
#EA893E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D1F66

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

Preview Lab → · Contrast checker → · Palette generator →

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