#9E1C82#9E1C82

#9E1C82 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.192 H 338.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9E1C82
RGBrgb(158, 28, 130)
HSLhsl(313, 70%, 36%)
HSVhsv(313, 82%, 62%)
CMYKcmyk(0%, 82.3%, 17.7%, 38%)
CIE-LABlab(37.32, 60.16, -25.45)
CIE-LCHlch(37.32, 65.32, 337.07°)
OKLaboklab(48.53% 0.1791 -0.069)
OKLCHoklch(48.53% 0.192 338.9)
XYZxyz(18.5456, 9.7132, 22.0129)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C82 #1C9E38
analogous
#791C9E #9E1C82 #9E1C41
triadic
#9E1C82 #829E1C #1C829E
tetradic
#9E1C82 #9E791C #1C9E38 #1C419E
square
#9E1C82 #9E791C #1C9E38 #1C419E
split-complementary
#9E1C82 #419E1C #1C9E79
monochromatic
#360A2C #6A1357 #9E1C82 #D225AD #E154C2

Accessibility & contrast

On white

7.14
#9E1C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E1C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1C82
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C82#FFFFFF#000000##FFFFFF
##9E1C821.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A7234F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1c82;
/* rgb */ color: rgb(158, 28, 130);
/* oklch */ color: oklch(48.5% 0.192 338.9);
Tailwind
colors: {
  custom: {
    50: '#bf6aa6',
    500: '#9e1c82',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c82;
$custom-light: #bf6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c82",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 312.923,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.19195,
    "h": 338.9
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#9E1C82
secondary
#52C46B
accent
#ED613B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1C82

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

Preview Lab → · Contrast checker → · Palette generator →

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