#9D1F80#9D1F80

#9D1F80 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.187 H 339.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9D1F80
RGBrgb(157, 31, 128)
HSLhsl(314, 67%, 37%)
HSVhsv(314, 80%, 62%)
CMYKcmyk(0%, 80.3%, 18.5%, 38.4%)
CIE-LABlab(37.31, 58.87, -24.23)
CIE-LCHlch(37.31, 63.66, 337.63°)
OKLaboklab(48.45% 0.1756 -0.0656)
OKLCHoklch(48.45% 0.187 339.5)
XYZxyz(18.2914, 9.7084, 21.3285)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F80 #1F9D3C
analogous
#7B1F9D #9D1F80 #9D1F41
triadic
#9D1F80 #809D1F #1F809D
tetradic
#9D1F80 #9D7B1F #1F9D3C #1F419D
square
#9D1F80 #9D7B1F #1F9D3C #1F419D
split-complementary
#9D1F80 #419D1F #1F9D7B
monochromatic
#370B2D #6A1556 #9D1F80 #D029AA #DE58BF

Accessibility & contrast

On white

7.14
#9D1F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D1F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F80
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F80#FFFFFF#000000##FFFFFF
##9D1F801.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B83
Deuteranopia (green-blind)
#535F7D
Tritanopia (blue-blind)
#A6254E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1f80;
/* rgb */ color: rgb(157, 31, 128);
/* oklch */ color: oklch(48.5% 0.187 339.5);
Tailwind
colors: {
  custom: {
    50: '#be6aa5',
    500: '#9d1f80',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f80;
$custom-light: #be6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f80",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 313.81,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.18743,
    "h": 339.5
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#9D1F80
secondary
#56C26F
accent
#EA653E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1F80

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

Preview Lab → · Contrast checker → · Palette generator →

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