#9D1883#9D1883

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

Color values

HEX#9D1883
RGBrgb(157, 24, 131)
HSLhsl(312, 73%, 35%)
HSVhsv(312, 85%, 62%)
CMYKcmyk(0%, 84.7%, 16.6%, 38.4%)
CIE-LABlab(36.86, 61.03, -26.81)
CIE-LCHlch(36.86, 66.66, 336.29°)
OKLaboklab(48.18% 0.1811 -0.0729)
OKLCHoklch(48.18% 0.195 338.1)
XYZxyz(18.3285, 9.4619, 22.3294)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1883 #189D32
analogous
#74189D #9D1883 #9D1841
triadic
#9D1883 #839D18 #18839D
tetradic
#9D1883 #9D7418 #189D32 #18419D
square
#9D1883 #9D7418 #189D32 #18419D
split-complementary
#9D1883 #419D18 #189D74
monochromatic
#33082A #681057 #9D1883 #D220AF #E44CC6

Accessibility & contrast

On white

7.26
#9D1883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D1883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1883
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1883#FFFFFF#000000##FFFFFF
##9D18831.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1883;
/* rgb */ color: rgb(157, 24, 131);
/* oklch */ color: oklch(48.2% 0.195 338.1);
Tailwind
colors: {
  custom: {
    50: '#be68a7',
    500: '#9d1883',
    950: '#000000',
  },
}
SCSS
$custom: #9d1883;
$custom-light: #be68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1883",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 311.729,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48176,
    "c": 0.19525,
    "h": 338.1
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#9D1883
secondary
#4BC563
accent
#F05C38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1883

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

Preview Lab → · Contrast checker → · Palette generator →

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