#9E1C84#9E1C84

#9E1C84 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.193 H 338.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9E1C84
RGBrgb(158, 28, 132)
HSLhsl(312, 70%, 36%)
HSVhsv(312, 82%, 62%)
CMYKcmyk(0%, 82.3%, 16.5%, 38%)
CIE-LABlab(37.42, 60.44, -26.53)
CIE-LCHlch(37.42, 66.01, 336.30°)
OKLaboklab(48.63% 0.1793 -0.0721)
OKLCHoklch(48.63% 0.193 338.1)
XYZxyz(18.6811, 9.7674, 22.7268)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C84 #1C9E36
analogous
#771C9E #9E1C84 #9E1C43
triadic
#9E1C84 #849E1C #1C849E
tetradic
#9E1C84 #9E771C #1C9E36 #1C439E
square
#9E1C84 #9E771C #1C9E36 #1C439E
split-complementary
#9E1C84 #439E1C #1C9E77
monochromatic
#360A2D #6A1359 #9E1C84 #D225AF #E154C4

Accessibility & contrast

On white

7.11
#9E1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9E1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1C84
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C84#FFFFFF#000000##FFFFFF
##9E1C841.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A72450
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1c84;
/* rgb */ color: rgb(158, 28, 132);
/* oklch */ color: oklch(48.6% 0.193 338.1);
Tailwind
colors: {
  custom: {
    50: '#bf6aa8',
    500: '#9e1c84',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c84;
$custom-light: #bf6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c84",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 312,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.19326,
    "h": 338.1
  },
  "luminance": 0.09766
}

Semantic roles & 50–950 ramp

primary
#9E1C84
secondary
#52C469
accent
#ED5F3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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