#9E1F77#9E1F77

#9E1F77 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.182 H 343.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9E1F77
RGBrgb(158, 31, 119)
HSLhsl(318, 67%, 37%)
HSVhsv(318, 80%, 62%)
CMYKcmyk(0%, 80.4%, 24.7%, 38%)
CIE-LABlab(37.08, 57.90, -18.96)
CIE-LCHlch(37.08, 60.93, 341.87°)
OKLaboklab(48.19% 0.1752 -0.0507)
OKLCHoklch(48.19% 0.182 343.9)
XYZxyz(17.9211, 9.5829, 18.3551)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F77 #1F9E46
analogous
#861F9E #9E1F77 #9E1F38
triadic
#9E1F77 #779E1F #1F779E
tetradic
#9E1F77 #9E861F #1F9E46 #1F389E
square
#9E1F77 #9E861F #1F9E46 #1F389E
split-complementary
#9E1F77 #389E1F #1F9E86
monochromatic
#380B2A #6B1550 #9E1F77 #D1299E #DE59B5

Accessibility & contrast

On white

7.20
#9E1F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9E1F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F77
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F77#FFFFFF#000000##FFFFFF
##9E1F771.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A79
Deuteranopia (green-blind)
#575F74
Tritanopia (blue-blind)
#A91E49
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1f77;
/* rgb */ color: rgb(158, 31, 119);
/* oklch */ color: oklch(48.2% 0.182 343.9);
Tailwind
colors: {
  custom: {
    50: '#bf6a9e',
    500: '#9e1f77',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f77;
$custom-light: #bf6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f77",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 318.425,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.18237,
    "h": 343.9
  },
  "luminance": 0.09581
}

Semantic roles & 50–950 ramp

primary
#9E1F77
secondary
#56C278
accent
#EA733E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1F77

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

Preview Lab → · Contrast checker → · Palette generator →

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