#9E1F82#9E1F82

#9E1F82 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.189 H 339.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9E1F82
RGBrgb(158, 31, 130)
HSLhsl(313, 67%, 37%)
HSVhsv(313, 80%, 62%)
CMYKcmyk(0%, 80.4%, 17.7%, 38%)
CIE-LABlab(37.59, 59.38, -25.02)
CIE-LCHlch(37.59, 64.44, 337.15°)
OKLaboklab(48.72% 0.1767 -0.0678)
OKLCHoklch(48.72% 0.189 339)
XYZxyz(18.6203, 9.8626, 22.0378)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F82 #1F9E3B
analogous
#7A1F9E #9E1F82 #9E1F43
triadic
#9E1F82 #829E1F #1F829E
tetradic
#9E1F82 #9E7A1F #1F9E3B #1F439E
square
#9E1F82 #9E7A1F #1F9E3B #1F439E
split-complementary
#9E1F82 #439E1F #1F9E7A
monochromatic
#380B2E #6B1558 #9E1F82 #D129AC #DE59C1

Accessibility & contrast

On white

7.07
#9E1F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E1F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F82
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F82#FFFFFF#000000##FFFFFF
##9E1F821.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C85
Deuteranopia (green-blind)
#535F7F
Tritanopia (blue-blind)
#A7254F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1f82;
/* rgb */ color: rgb(158, 31, 130);
/* oklch */ color: oklch(48.7% 0.189 339.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ba6',
    500: '#9e1f82',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f82;
$custom-light: #bf6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f82",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 313.228,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48722,
    "c": 0.18931,
    "h": 339
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#9E1F82
secondary
#56C26E
accent
#EA643E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1F82

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

Preview Lab → · Contrast checker → · Palette generator →

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