#9E2E7D#9E2E7D

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

Color values

HEX#9E2E7D
RGBrgb(158, 46, 125)
HSLhsl(318, 55%, 40%)
HSVhsv(318, 71%, 62%)
CMYKcmyk(0%, 70.9%, 20.9%, 38%)
CIE-LABlab(39.08, 53.81, -19.62)
CIE-LCHlch(39.08, 57.27, 339.97°)
OKLaboklab(49.72% 0.1612 -0.0526)
OKLCHoklch(49.72% 0.17 341.9)
XYZxyz(18.7798, 10.7056, 20.4754)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E7D #2E9E4F
analogous
#872E9E #9E2E7D #9E2E45
triadic
#9E2E7D #7D9E2E #2E7D9E
tetradic
#9E2E7D #9E872E #2E9E4F #2E459E
square
#9E2E7D #9E872E #2E9E4F #2E459E
split-complementary
#9E2E7D #459E2E #2E9E87
monochromatic
#3F1232 #6F2057 #9E2E7D #C841A0 #D671B8

Accessibility & contrast

On white

6.69
#9E2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2E7D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E7D#FFFFFF#000000##FFFFFF
##9E2E7D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#A82F51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2e7d;
/* rgb */ color: rgb(158, 46, 125);
/* oklch */ color: oklch(49.7% 0.170 341.9);
Tailwind
colors: {
  custom: {
    50: '#be70a2',
    500: '#9e2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e7d;
$custom-light: #be70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e7d",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 317.679,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.16958,
    "h": 341.9
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

primary
#9E2E7D
secondary
#6BBD83
accent
#DE754A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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