#9E2B72#9E2B72

#9E2B72 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.167 H 347.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9E2B72
RGBrgb(158, 43, 114)
HSLhsl(323, 57%, 39%)
HSVhsv(323, 73%, 62%)
CMYKcmyk(0%, 72.8%, 27.8%, 38%)
CIE-LABlab(38.22, 53.42, -14.08)
CIE-LCHlch(38.22, 55.25, 345.24°)
OKLaboklab(48.95% 0.1623 -0.0372)
OKLCHoklch(48.95% 0.167 347.1)
XYZxyz(18.0025, 10.2137, 16.9397)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B72 #2B9E57
analogous
#912B9E #9E2B72 #9E2B38
triadic
#9E2B72 #729E2B #2B729E
tetradic
#9E2B72 #9E912B #2B9E57 #2B389E
square
#9E2B72 #9E912B #2B9E57 #2B389E
split-complementary
#9E2B72 #389E2B #2B9E91
monochromatic
#3E112D #6E1E4F #9E2B72 #CA3C94 #D76CAE

Accessibility & contrast

On white

6.90
#9E2B72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E2B72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B72
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B72#FFFFFF#000000##FFFFFF
##9E2B721.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D74
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#A9274B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2b72;
/* rgb */ color: rgb(158, 43, 114);
/* oklch */ color: oklch(48.9% 0.167 347.1);
Tailwind
colors: {
  custom: {
    50: '#bf6f9a',
    500: '#9e2b72',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b72;
$custom-light: #bf6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b72",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 322.957,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.1665,
    "h": 347.1
  },
  "luminance": 0.10212
}

Semantic roles & 50–950 ramp

primary
#9E2B72
secondary
#67BE88
accent
#E08247
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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