#9D1686#9D1686

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

Color values

HEX#9D1686
RGBrgb(157, 22, 134)
HSLhsl(310, 75%, 35%)
HSVhsv(310, 86%, 62%)
CMYKcmyk(0%, 86%, 14.6%, 38.4%)
CIE-LABlab(36.86, 61.88, -28.66)
CIE-LCHlch(36.86, 68.19, 335.15°)
OKLaboklab(48.23% 0.1826 -0.0782)
OKLCHoklch(48.23% 0.199 336.8)
XYZxyz(18.4950, 9.4650, 23.4025)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1686 #169D2D
analogous
#70169D #9D1686 #9D1643
triadic
#9D1686 #869D16 #16869D
tetradic
#9D1686 #9D7016 #169D2D #16439D
square
#9D1686 #9D7016 #169D2D #16439D
split-complementary
#9D1686 #439D16 #169D70
monochromatic
#32072A #670E58 #9D1686 #D31EB4 #E548CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1686#FFFFFF#000000##FFFFFF
##9D16861.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)
#1B4A89
Deuteranopia (green-blind)
#4E5E83
Tritanopia (blue-blind)
#A62250
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1686;
/* rgb */ color: rgb(157, 22, 134);
/* oklch */ color: oklch(48.2% 0.199 336.8);
Tailwind
colors: {
  custom: {
    50: '#be68a9',
    500: '#9d1686',
    950: '#000000',
  },
}
SCSS
$custom: #9d1686;
$custom-light: #be68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1686",
  "rgb": {
    "r": 157,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 310.222,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4823,
    "c": 0.19866,
    "h": 336.8
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#9D1686
secondary
#48C75E
accent
#F25636
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1686

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

Preview Lab → · Contrast checker → · Palette generator →

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