#9E2E7C#9E2E7C

#9E2E7C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.169 H 342.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9E2E7C
RGBrgb(158, 46, 124)
HSLhsl(318, 55%, 40%)
HSVhsv(318, 71%, 62%)
CMYKcmyk(0%, 70.9%, 21.5%, 38%)
CIE-LABlab(39.04, 53.66, -19.06)
CIE-LCHlch(39.04, 56.95, 340.44°)
OKLaboklab(49.68% 0.161 -0.0511)
OKLCHoklch(49.68% 0.169 342.4)
XYZxyz(18.7162, 10.6802, 20.1407)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E7C #2E9E50
analogous
#882E9E #9E2E7C #9E2E44
triadic
#9E2E7C #7C9E2E #2E7C9E
tetradic
#9E2E7C #9E882E #2E9E50 #2E449E
square
#9E2E7C #9E882E #2E9E50 #2E449E
split-complementary
#9E2E7C #449E2E #2E9E88
monochromatic
#3F1232 #6F2057 #9E2E7C #C8419F #D671B7

Accessibility & contrast

On white

6.70
#9E2E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9E2E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E7C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E7C#FFFFFF#000000##FFFFFF
##9E2E7C1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507E
Deuteranopia (green-blind)
#5A6379
Tritanopia (blue-blind)
#A82F51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2e7c;
/* rgb */ color: rgb(158, 46, 124);
/* oklch */ color: oklch(49.7% 0.169 342.4);
Tailwind
colors: {
  custom: {
    50: '#be70a2',
    500: '#9e2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e7c;
$custom-light: #be70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e7c",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 318.214,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.16892,
    "h": 342.4
  },
  "luminance": 0.10678
}

Semantic roles & 50–950 ramp

primary
#9E2E7C
secondary
#6BBD84
accent
#DE774A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9E2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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