#9E2E71#9E2E71

#9E2E71 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.162 H 347.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9E2E71
RGBrgb(158, 46, 113)
HSLhsl(324, 55%, 40%)
HSVhsv(324, 71%, 62%)
CMYKcmyk(0%, 70.9%, 28.5%, 38%)
CIE-LABlab(38.58, 52.18, -12.91)
CIE-LCHlch(38.58, 53.75, 346.11°)
OKLaboklab(49.19% 0.1586 -0.034)
OKLCHoklch(49.19% 0.162 347.9)
XYZxyz(18.0590, 10.4173, 16.6793)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E71 #2E9E5B
analogous
#932E9E #9E2E71 #9E2E39
triadic
#9E2E71 #719E2E #2E719E
tetradic
#9E2E71 #9E932E #2E9E5B #2E399E
square
#9E2E71 #9E932E #2E9E5B #2E399E
split-complementary
#9E2E71 #399E2E #2E9E93
monochromatic
#3F122D #6F204F #9E2E71 #C84192 #D671AD

Accessibility & contrast

On white

6.81
#9E2E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E2E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E71
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E71#FFFFFF#000000##FFFFFF
##9E2E711.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E73
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#A92A4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2e71;
/* rgb */ color: rgb(158, 46, 113);
/* oklch */ color: oklch(49.2% 0.162 347.9);
Tailwind
colors: {
  custom: {
    50: '#be7099',
    500: '#9e2e71',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e71;
$custom-light: #be7099;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e71",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 324.107,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.49194,
    "c": 0.1622,
    "h": 347.9
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#9E2E71
secondary
#6BBD8C
accent
#DE854A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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