#9D1F63#9D1F63

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

Color values

HEX#9D1F63
RGBrgb(157, 31, 99)
HSLhsl(328, 67%, 37%)
HSVhsv(328, 80%, 62%)
CMYKcmyk(0%, 80.3%, 36.9%, 38.4%)
CIE-LABlab(36.08, 55.26, -7.85)
CIE-LCHlch(36.08, 55.82, 351.91°)
OKLaboklab(47.16% 0.1698 -0.0201)
OKLCHoklch(47.16% 0.171 353.2)
XYZxyz(16.6478, 9.0510, 12.6723)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F63 #1F9D59
analogous
#981F9D #9D1F63 #9D1F24
triadic
#9D1F63 #639D1F #1F639D
tetradic
#9D1F63 #9D981F #1F9D59 #1F249D
square
#9D1F63 #9D981F #1F9D59 #1F249D
split-complementary
#9D1F63 #249D1F #1F9D98
monochromatic
#370B23 #6A1543 #9D1F63 #D02983 #DE58A1

Accessibility & contrast

On white

7.47
#9D1F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1F63
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F63#FFFFFF#000000##FFFFFF
##9D1F631.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384665
Deuteranopia (green-blind)
#5C5D60
Tritanopia (blue-blind)
#AA0F3F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d1f63;
/* rgb */ color: rgb(157, 31, 99);
/* oklch */ color: oklch(47.2% 0.171 353.2);
Tailwind
colors: {
  custom: {
    50: '#bf698f',
    500: '#9d1f63',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f63;
$custom-light: #bf698f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f63",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 327.619,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4716,
    "c": 0.17098,
    "h": 353.2
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D1F63

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

Preview Lab → · Contrast checker → · Palette generator →

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