#9E2D7E#9E2D7E

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

Color values

HEX#9E2D7E
RGBrgb(158, 45, 126)
HSLhsl(317, 56%, 40%)
HSVhsv(317, 72%, 62%)
CMYKcmyk(0%, 71.5%, 20.3%, 38%)
CIE-LABlab(38.99, 54.32, -20.37)
CIE-LCHlch(38.99, 58.01, 339.44°)
OKLaboklab(49.67% 0.1625 -0.0548)
OKLCHoklch(49.67% 0.171 341.4)
XYZxyz(18.8054, 10.6541, 20.8007)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D7E #2D9E4D
analogous
#852D9E #9E2D7E #9E2D46
triadic
#9E2D7E #7E9E2D #2D7E9E
tetradic
#9E2D7E #9E852D #2D9E4D #2D469E
square
#9E2D7E #9E852D #2D9E4D #2D469E
split-complementary
#9E2D7E #469E2D #2D9E85
monochromatic
#3F1232 #6E1F58 #9E2D7E #C940A2 #D66FB9

Accessibility & contrast

On white

6.71
#9E2D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2D7E
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D7E#FFFFFF#000000##FFFFFF
##9E2D7E1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#59627B
Tritanopia (blue-blind)
#A82F51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2d7e;
/* rgb */ color: rgb(158, 45, 126);
/* oklch */ color: oklch(49.7% 0.171 341.4);
Tailwind
colors: {
  custom: {
    50: '#be70a3',
    500: '#9e2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d7e;
$custom-light: #be70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d7e",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 316.991,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.17149,
    "h": 341.4
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

primary
#9E2D7E
secondary
#69BD81
accent
#DF7349
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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