#9E1F79#9E1F79

#9E1F79 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.184 H 343.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9E1F79
RGBrgb(158, 31, 121)
HSLhsl(317, 67%, 37%)
HSVhsv(317, 80%, 62%)
CMYKcmyk(0%, 80.4%, 23.4%, 38%)
CIE-LABlab(37.17, 58.16, -20.07)
CIE-LCHlch(37.17, 61.53, 340.96°)
OKLaboklab(48.28% 0.1755 -0.0538)
OKLCHoklch(48.28% 0.184 343)
XYZxyz(18.0424, 9.6315, 18.9943)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F79 #1F9E44
analogous
#841F9E #9E1F79 #9E1F3A
triadic
#9E1F79 #799E1F #1F799E
tetradic
#9E1F79 #9E841F #1F9E44 #1F3A9E
square
#9E1F79 #9E841F #1F9E44 #1F3A9E
split-complementary
#9E1F79 #3A9E1F #1F9E84
monochromatic
#380B2B #6B1552 #9E1F79 #D129A0 #DE59B8

Accessibility & contrast

On white

7.18
#9E1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E1F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F79
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F79#FFFFFF#000000##FFFFFF
##9E1F791.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#565F76
Tritanopia (blue-blind)
#A8204A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1f79;
/* rgb */ color: rgb(158, 31, 121);
/* oklch */ color: oklch(48.3% 0.184 343.0);
Tailwind
colors: {
  custom: {
    50: '#bf6aa0',
    500: '#9e1f79',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f79;
$custom-light: #bf6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f79",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 317.48,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48281,
    "c": 0.18359,
    "h": 343
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#9E1F79
secondary
#56C276
accent
#EA703E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1F79

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

Preview Lab → · Contrast checker → · Palette generator →

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