#9E1682#9E1682

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

Color values

HEX#9E1682
RGBrgb(158, 22, 130)
HSLhsl(312, 76%, 35%)
HSVhsv(312, 86%, 62%)
CMYKcmyk(0%, 86.1%, 17.7%, 38%)
CIE-LABlab(36.85, 61.54, -26.19)
CIE-LCHlch(36.85, 66.88, 336.95°)
OKLaboklab(48.19% 0.1833 -0.0711)
OKLCHoklch(48.19% 0.197 338.8)
XYZxyz(18.4172, 9.4565, 21.9701)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1682 #169E32
analogous
#76169E #9E1682 #9E163E
triadic
#9E1682 #829E16 #16829E
tetradic
#9E1682 #9E7616 #169E32 #163E9E
square
#9E1682 #9E7616 #169E32 #163E9E
split-complementary
#9E1682 #3E9E16 #169E76
monochromatic
#33072A #680F56 #9E1682 #D41DAE #E649C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1682#FFFFFF#000000##FFFFFF
##9E16821.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)
#204A85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A71F4D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1682;
/* rgb */ color: rgb(158, 22, 130);
/* oklch */ color: oklch(48.2% 0.197 338.8);
Tailwind
colors: {
  custom: {
    50: '#bf68a6',
    500: '#9e1682',
    950: '#000000',
  },
}
SCSS
$custom: #9e1682;
$custom-light: #bf68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1682",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 312.353,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.19658,
    "h": 338.8
  },
  "luminance": 0.09455
}

Semantic roles & 50–950 ramp

primary
#9E1682
secondary
#49C763
accent
#F25C36
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1682

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

Preview Lab → · Contrast checker → · Palette generator →

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