#9E1E7F#9E1E7F

#9E1E7F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.188 H 340.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9E1E7F
RGBrgb(158, 30, 127)
HSLhsl(315, 68%, 37%)
HSVhsv(315, 81%, 62%)
CMYKcmyk(0%, 81%, 19.6%, 38%)
CIE-LABlab(37.36, 59.24, -23.53)
CIE-LCHlch(37.36, 63.74, 338.34°)
OKLaboklab(48.5% 0.1772 -0.0636)
OKLCHoklch(48.5% 0.188 340.3)
XYZxyz(18.3962, 9.7319, 20.9842)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E7F #1E9E3D
analogous
#7D1E9E #9E1E7F #9E1E3F
triadic
#9E1E7F #7F9E1E #1E7F9E
tetradic
#9E1E7F #9E7D1E #1E9E3D #1E3F9E
square
#9E1E7F #9E7D1E #1E9E3D #1E3F9E
split-complementary
#9E1E7F #3F9E1E #1E9E7D
monochromatic
#370A2C #6B1456 #9E1E7F #D128A8 #DF57BE

Accessibility & contrast

On white

7.13
#9E1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9E1E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E7F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E7F#FFFFFF#000000##FFFFFF
##9E1E7F1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A8234D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1e7f;
/* rgb */ color: rgb(158, 30, 127);
/* oklch */ color: oklch(48.5% 0.188 340.3);
Tailwind
colors: {
  custom: {
    50: '#bf6aa4',
    500: '#9e1e7f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e7f;
$custom-light: #bf6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e7f",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 314.531,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48504,
    "c": 0.18827,
    "h": 340.3
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#9E1E7F
secondary
#55C370
accent
#EB673D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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