#9E2B7C#9E2B7C

#9E2B7C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.173 H 342.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9E2B7C
RGBrgb(158, 43, 124)
HSLhsl(318, 57%, 39%)
HSVhsv(318, 73%, 62%)
CMYKcmyk(0%, 72.8%, 21.5%, 38%)
CIE-LABlab(38.65, 54.76, -19.67)
CIE-LCHlch(38.65, 58.19, 340.24°)
OKLaboklab(49.39% 0.1644 -0.0528)
OKLCHoklch(49.39% 0.173 342.2)
XYZxyz(18.6031, 10.4540, 20.1030)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B7C #2B9E4D
analogous
#872B9E #9E2B7C #9E2B43
triadic
#9E2B7C #7C9E2B #2B7C9E
tetradic
#9E2B7C #9E872B #2B9E4D #2B439E
square
#9E2B7C #9E872B #2B9E4D #2B439E
split-complementary
#9E2B7C #439E2B #2B9E87
monochromatic
#3E1130 #6E1E56 #9E2B7C #CA3CA0 #D76CB8

Accessibility & contrast

On white

6.80
#9E2B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9E2B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B7C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B7C#FFFFFF#000000##FFFFFF
##9E2B7C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7E
Deuteranopia (green-blind)
#596279
Tritanopia (blue-blind)
#A82C50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2b7c;
/* rgb */ color: rgb(158, 43, 124);
/* oklch */ color: oklch(49.4% 0.173 342.2);
Tailwind
colors: {
  custom: {
    50: '#be6fa2',
    500: '#9e2b7c',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b7c;
$custom-light: #be6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b7c",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 317.739,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49391,
    "c": 0.17263,
    "h": 342.2
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#9E2B7C
secondary
#67BE81
accent
#E07547
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9E2B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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