#9E2B7B#9E2B7B

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

Color values

HEX#9E2B7B
RGBrgb(158, 43, 123)
HSLhsl(318, 57%, 39%)
HSVhsv(318, 73%, 62%)
CMYKcmyk(0%, 72.8%, 22.2%, 38%)
CIE-LABlab(38.60, 54.63, -19.11)
CIE-LCHlch(38.60, 57.87, 340.71°)
OKLaboklab(49.35% 0.1642 -0.0512)
OKLCHoklch(49.35% 0.172 342.7)
XYZxyz(18.5402, 10.4288, 19.7716)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B7B #2B9E4E
analogous
#882B9E #9E2B7B #9E2B42
triadic
#9E2B7B #7B9E2B #2B7B9E
tetradic
#9E2B7B #9E882B #2B9E4E #2B429E
square
#9E2B7B #9E882B #2B9E4E #2B429E
split-complementary
#9E2B7B #429E2B #2B9E88
monochromatic
#3E1130 #6E1E56 #9E2B7B #CA3C9F #D76CB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2B7B#FFFFFF#000000##FFFFFF
##9E2B7B1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#A82C4F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2b7b;
/* rgb */ color: rgb(158, 43, 123);
/* oklch */ color: oklch(49.3% 0.172 342.7);
Tailwind
colors: {
  custom: {
    50: '#be6fa1',
    500: '#9e2b7b',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b7b;
$custom-light: #be6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b7b",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 318.261,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.17198,
    "h": 342.7
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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