#9E2E7A#9E2E7A

#9E2E7A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.168 H 343.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9E2E7A
RGBrgb(158, 46, 122)
HSLhsl(319, 55%, 40%)
HSVhsv(319, 71%, 62%)
CMYKcmyk(0%, 70.9%, 22.8%, 38%)
CIE-LABlab(38.95, 53.39, -17.96)
CIE-LCHlch(38.95, 56.32, 341.41°)
OKLaboklab(49.59% 0.1606 -0.048)
OKLCHoklch(49.59% 0.168 343.4)
XYZxyz(18.5910, 10.6301, 19.4813)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E7A #2E9E52
analogous
#8A2E9E #9E2E7A #9E2E42
triadic
#9E2E7A #7A9E2E #2E7A9E
tetradic
#9E2E7A #9E8A2E #2E9E52 #2E429E
square
#9E2E7A #9E8A2E #2E9E52 #2E429E
split-complementary
#9E2E7A #429E2E #2E9E8A
monochromatic
#3F1231 #6F2055 #9E2E7A #C8419D #D671B5

Accessibility & contrast

On white

6.72
#9E2E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9E2E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E7A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E7A#FFFFFF#000000##FFFFFF
##9E2E7A1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#5B6277
Tritanopia (blue-blind)
#A82E50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2e7a;
/* rgb */ color: rgb(158, 46, 122);
/* oklch */ color: oklch(49.6% 0.168 343.4);
Tailwind
colors: {
  custom: {
    50: '#be70a0',
    500: '#9e2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e7a;
$custom-light: #be70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e7a",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 319.286,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.49585,
    "c": 0.16763,
    "h": 343.4
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#9E2E7A
secondary
#6BBD85
accent
#DE794A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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