#9E2E7E#9E2E7E

#9E2E7E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.170 H 341.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9E2E7E
RGBrgb(158, 46, 126)
HSLhsl(317, 55%, 40%)
HSVhsv(317, 71%, 62%)
CMYKcmyk(0%, 70.9%, 20.3%, 38%)
CIE-LABlab(39.12, 53.95, -20.17)
CIE-LCHlch(39.12, 57.59, 339.50°)
OKLaboklab(49.77% 0.1614 -0.0542)
OKLCHoklch(49.77% 0.17 341.4)
XYZxyz(18.8440, 10.7313, 20.8135)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E7E #2E9E4E
analogous
#862E9E #9E2E7E #9E2E46
triadic
#9E2E7E #7E9E2E #2E7E9E
tetradic
#9E2E7E #9E862E #2E9E4E #2E469E
square
#9E2E7E #9E862E #2E9E4E #2E469E
split-complementary
#9E2E7E #469E2E #2E9E86
monochromatic
#3F1232 #6F2058 #9E2E7E #C841A1 #D671B9

Accessibility & contrast

On white

6.68
#9E2E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9E2E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E7E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E7E#FFFFFF#000000##FFFFFF
##9E2E7E1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#A83052
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2e7e;
/* rgb */ color: rgb(158, 46, 126);
/* oklch */ color: oklch(49.8% 0.170 341.4);
Tailwind
colors: {
  custom: {
    50: '#be70a3',
    500: '#9e2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e7e;
$custom-light: #be70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e7e",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 317.143,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.49769,
    "c": 0.17024,
    "h": 341.4
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#9E2E7E
secondary
#6BBD82
accent
#DE744A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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