#9D1F83#9D1F83

#9D1F83 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.189 H 338.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9D1F83
RGBrgb(157, 31, 131)
HSLhsl(312, 67%, 37%)
HSVhsv(312, 80%, 62%)
CMYKcmyk(0%, 80.3%, 16.6%, 38.4%)
CIE-LABlab(37.46, 59.29, -25.86)
CIE-LCHlch(37.46, 64.69, 336.43°)
OKLaboklab(48.61% 0.1759 -0.0703)
OKLCHoklch(48.61% 0.189 338.2)
XYZxyz(18.4918, 9.7886, 22.3838)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F83 #1F9D39
analogous
#781F9D #9D1F83 #9D1F44
triadic
#9D1F83 #839D1F #1F839D
tetradic
#9D1F83 #9D781F #1F9D39 #1F449D
square
#9D1F83 #9D781F #1F9D39 #1F449D
split-complementary
#9D1F83 #449D1F #1F9D78
monochromatic
#370B2E #6A1558 #9D1F83 #D029AE #DE58C2

Accessibility & contrast

On white

7.10
#9D1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F83
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F83#FFFFFF#000000##FFFFFF
##9D1F831.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#A62650
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1f83;
/* rgb */ color: rgb(157, 31, 131);
/* oklch */ color: oklch(48.6% 0.189 338.2);
Tailwind
colors: {
  custom: {
    50: '#be6aa7',
    500: '#9d1f83',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f83;
$custom-light: #be6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f83",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 312.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48607,
    "c": 0.1894,
    "h": 338.2
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#9D1F83
secondary
#56C26C
accent
#EA613E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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