#9D1682#9D1682

#9D1682 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.196 H 338.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9D1682
RGBrgb(157, 22, 130)
HSLhsl(312, 75%, 35%)
HSVhsv(312, 86%, 62%)
CMYKcmyk(0%, 86%, 17.2%, 38.4%)
CIE-LABlab(36.66, 61.32, -26.50)
CIE-LCHlch(36.66, 66.80, 336.63°)
OKLaboklab(48.02% 0.1824 -0.072)
OKLCHoklch(48.02% 0.196 338.5)
XYZxyz(18.2213, 9.3555, 21.9609)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1682 #169D31
analogous
#74169D #9D1682 #9D163E
triadic
#9D1682 #829D16 #16829D
tetradic
#9D1682 #9D7416 #169D31 #163E9D
square
#9D1682 #9D7416 #169D31 #163E9D
split-complementary
#9D1682 #3E9D16 #169D74
monochromatic
#320729 #670E56 #9D1682 #D31EAE #E548C6

Accessibility & contrast

On white

7.32
#9D1682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9D1682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1682
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1682#FFFFFF#000000##FFFFFF
##9D16821.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#505D7F
Tritanopia (blue-blind)
#A61F4D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1682;
/* rgb */ color: rgb(157, 22, 130);
/* oklch */ color: oklch(48.0% 0.196 338.5);
Tailwind
colors: {
  custom: {
    50: '#be68a6',
    500: '#9d1682',
    950: '#000000',
  },
}
SCSS
$custom: #9d1682;
$custom-light: #be68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1682",
  "rgb": {
    "r": 157,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 312,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.19605,
    "h": 338.5
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#9D1682
secondary
#48C762
accent
#F25B36
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1682

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

Preview Lab → · Contrast checker → · Palette generator →

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