#9E1E7E#9E1E7E

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

Color values

HEX#9E1E7E
RGBrgb(158, 30, 126)
HSLhsl(315, 68%, 37%)
HSVhsv(315, 81%, 62%)
CMYKcmyk(0%, 81%, 20.3%, 38%)
CIE-LABlab(37.31, 59.10, -22.98)
CIE-LCHlch(37.31, 63.41, 338.75°)
OKLaboklab(48.45% 0.1771 -0.062)
OKLCHoklch(48.45% 0.188 340.7)
XYZxyz(18.3313, 9.7059, 20.6426)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E7E #1E9E3E
analogous
#7E1E9E #9E1E7E #9E1E3E
triadic
#9E1E7E #7E9E1E #1E7E9E
tetradic
#9E1E7E #9E7E1E #1E9E3E #1E3E9E
square
#9E1E7E #9E7E1E #1E9E3E #1E3E9E
split-complementary
#9E1E7E #3E9E1E #1E9E7E
monochromatic
#370A2C #6B1455 #9E1E7E #D128A7 #DF57BD

Accessibility & contrast

On white

7.14
#9E1E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E1E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E7E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E7E#FFFFFF#000000##FFFFFF
##9E1E7E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A8224D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1e7e;
/* rgb */ color: rgb(158, 30, 126);
/* oklch */ color: oklch(48.5% 0.188 340.7);
Tailwind
colors: {
  custom: {
    50: '#bf6aa3',
    500: '#9e1e7e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e7e;
$custom-light: #bf6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e7e",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 315,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.18763,
    "h": 340.7
  },
  "luminance": 0.09704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E1E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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