#9E1F85#9E1F85

#9E1F85 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.9% C 0.191 H 337.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9E1F85
RGBrgb(158, 31, 133)
HSLhsl(312, 67%, 37%)
HSVhsv(312, 80%, 62%)
CMYKcmyk(0%, 80.4%, 15.8%, 38%)
CIE-LABlab(37.74, 59.80, -26.65)
CIE-LCHlch(37.74, 65.47, 335.98°)
OKLaboklab(48.88% 0.177 -0.0725)
OKLCHoklch(48.88% 0.191 337.7)
XYZxyz(18.8246, 9.9444, 23.1138)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F85 #1F9E38
analogous
#781F9E #9E1F85 #9E1F46
triadic
#9E1F85 #859E1F #1F859E
tetradic
#9E1F85 #9E781F #1F9E38 #1F469E
square
#9E1F85 #9E781F #1F9E38 #1F469E
split-complementary
#9E1F85 #469E1F #1F9E78
monochromatic
#380B2F #6B155A #9E1F85 #D129B0 #DE59C4

Accessibility & contrast

On white

7.03
#9E1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F85
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F85#FFFFFF#000000##FFFFFF
##9E1F851.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C88
Deuteranopia (green-blind)
#526082
Tritanopia (blue-blind)
#A72751
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1f85;
/* rgb */ color: rgb(158, 31, 133);
/* oklch */ color: oklch(48.9% 0.191 337.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ba9',
    500: '#9e1f85',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f85;
$custom-light: #bf6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f85",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 311.811,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48876,
    "c": 0.1913,
    "h": 337.7
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#9E1F85
secondary
#56C26C
accent
#EA603E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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