#9E2C75#9E2C75

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

Color values

HEX#9E2C75
RGBrgb(158, 44, 117)
HSLhsl(322, 56%, 40%)
HSVhsv(322, 72%, 62%)
CMYKcmyk(0%, 72.2%, 25.9%, 38%)
CIE-LABlab(38.48, 53.45, -15.57)
CIE-LCHlch(38.48, 55.67, 343.76°)
OKLaboklab(49.17% 0.1619 -0.0413)
OKLCHoklch(49.17% 0.167 345.7)
XYZxyz(18.2129, 10.3567, 17.8661)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C75 #2C9E55
analogous
#8E2C9E #9E2C75 #9E2C3C
triadic
#9E2C75 #759E2C #2C759E
tetradic
#9E2C75 #9E8E2C #2C9E55 #2C3C9E
square
#9E2C75 #9E8E2C #2C9E55 #2C3C9E
split-complementary
#9E2C75 #3C9E2C #2C9E8E
monochromatic
#3E112E #6E1F52 #9E2C75 #C93E97 #D76EB1

Accessibility & contrast

On white

6.84
#9E2C75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E2C75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C75
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C75#FFFFFF#000000##FFFFFF
##9E2C751.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E77
Deuteranopia (green-blind)
#5C6272
Tritanopia (blue-blind)
#A92A4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2c75;
/* rgb */ color: rgb(158, 44, 117);
/* oklch */ color: oklch(49.2% 0.167 345.7);
Tailwind
colors: {
  custom: {
    50: '#be6f9d',
    500: '#9e2c75',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c75;
$custom-light: #be6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c75",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 321.579,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4917,
    "c": 0.16704,
    "h": 345.7
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#9E2C75
secondary
#68BE87
accent
#E07F48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2C75

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

Preview Lab → · Contrast checker → · Palette generator →

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