#9D1681#9D1681

#9D1681 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 48.0% C 0.195 H 338.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9D1681
RGBrgb(157, 22, 129)
HSLhsl(312, 75%, 35%)
HSVhsv(312, 86%, 62%)
CMYKcmyk(0%, 86%, 17.8%, 38.4%)
CIE-LABlab(36.61, 61.18, -25.95)
CIE-LCHlch(36.61, 66.46, 337.01°)
OKLaboklab(47.97% 0.1823 -0.0704)
OKLCHoklch(47.97% 0.195 338.9)
XYZxyz(18.1545, 9.3288, 21.6092)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1681 #169D32
analogous
#75169D #9D1681 #9D163E
triadic
#9D1681 #819D16 #16819D
tetradic
#9D1681 #9D7516 #169D32 #163E9D
square
#9D1681 #9D7516 #169D32 #163E9D
split-complementary
#9D1681 #3E9D16 #169D75
monochromatic
#320729 #670E55 #9D1681 #D31EAD #E548C5

Accessibility & contrast

On white

7.33
#9D1681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1681
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1681#FFFFFF#000000##FFFFFF
##9D16811.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#A61F4D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1681;
/* rgb */ color: rgb(157, 22, 129);
/* oklch */ color: oklch(48.0% 0.195 338.9);
Tailwind
colors: {
  custom: {
    50: '#be68a6',
    500: '#9d1681',
    950: '#000000',
  },
}
SCSS
$custom: #9d1681;
$custom-light: #be68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1681",
  "rgb": {
    "r": 157,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 312.444,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47965,
    "c": 0.19541,
    "h": 338.9
  },
  "luminance": 0.09327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D1681

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

Preview Lab → · Contrast checker → · Palette generator →

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