#9E1F80#9E1F80

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

Color values

HEX#9E1F80
RGBrgb(158, 31, 128)
HSLhsl(314, 67%, 37%)
HSVhsv(314, 80%, 62%)
CMYKcmyk(0%, 80.4%, 19%, 38%)
CIE-LABlab(37.50, 59.10, -23.93)
CIE-LCHlch(37.50, 63.77, 337.96°)
OKLaboklab(48.62% 0.1765 -0.0647)
OKLCHoklch(48.62% 0.188 339.9)
XYZxyz(18.4874, 9.8095, 21.3377)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F80 #1F9E3D
analogous
#7D1F9E #9E1F80 #9E1F41
triadic
#9E1F80 #809E1F #1F809E
tetradic
#9E1F80 #9E7D1F #1F9E3D #1F419E
square
#9E1F80 #9E7D1F #1F9E3D #1F419E
split-complementary
#9E1F80 #419E1F #1F9E7D
monochromatic
#380B2D #6B1557 #9E1F80 #D129A9 #DE59BF

Accessibility & contrast

On white

7.09
#9E1F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9E1F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F80
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F80#FFFFFF#000000##FFFFFF
##9E1F801.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C83
Deuteranopia (green-blind)
#545F7D
Tritanopia (blue-blind)
#A8244E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1f80;
/* rgb */ color: rgb(158, 31, 128);
/* oklch */ color: oklch(48.6% 0.188 339.9);
Tailwind
colors: {
  custom: {
    50: '#bf6ba5',
    500: '#9e1f80',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f80;
$custom-light: #bf6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f80",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 314.173,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48621,
    "c": 0.188,
    "h": 339.9
  },
  "luminance": 0.09808
}

Semantic roles & 50–950 ramp

primary
#9E1F80
secondary
#56C270
accent
#EA663E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1F80

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

Preview Lab → · Contrast checker → · Palette generator →

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