#9D1983#9D1983

#9D1983 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.194 H 338.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9D1983
RGBrgb(157, 25, 131)
HSLhsl(312, 73%, 36%)
HSVhsv(312, 84%, 62%)
CMYKcmyk(0%, 84.1%, 16.6%, 38.4%)
CIE-LABlab(36.94, 60.80, -26.68)
CIE-LCHlch(36.94, 66.40, 336.31°)
OKLaboklab(48.23% 0.1805 -0.0725)
OKLCHoklch(48.23% 0.194 338.1)
XYZxyz(18.3495, 9.5039, 22.3364)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1983 #199D33
analogous
#75199D #9D1983 #9D1941
triadic
#9D1983 #839D19 #19839D
tetradic
#9D1983 #9D7519 #199D33 #19419D
square
#9D1983 #9D7519 #199D33 #19419D
split-complementary
#9D1983 #419D19 #199D75
monochromatic
#33082B #681157 #9D1983 #D221AF #E34EC5

Accessibility & contrast

On white

7.24
#9D1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1983
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1983#FFFFFF#000000##FFFFFF
##9D19831.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A86
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#A6224F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1983;
/* rgb */ color: rgb(157, 25, 131);
/* oklch */ color: oklch(48.2% 0.194 338.1);
Tailwind
colors: {
  custom: {
    50: '#be69a7',
    500: '#9d1983',
    950: '#000000',
  },
}
SCSS
$custom: #9d1983;
$custom-light: #be69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1983",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 311.818,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48232,
    "c": 0.19449,
    "h": 338.1
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#9D1983
secondary
#4DC565
accent
#EF5D39
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1983

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

Preview Lab → · Contrast checker → · Palette generator →

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