#9E2A72#9E2A72

#9E2A72 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.168 H 347.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9E2A72
RGBrgb(158, 42, 114)
HSLhsl(323, 58%, 39%)
HSVhsv(323, 73%, 62%)
CMYKcmyk(0%, 73.4%, 27.8%, 38%)
CIE-LABlab(38.10, 53.78, -14.27)
CIE-LCHlch(38.10, 55.64, 345.14°)
OKLaboklab(48.85% 0.1634 -0.0377)
OKLCHoklch(48.85% 0.168 347)
XYZxyz(17.9666, 10.1419, 16.9277)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A72 #2A9E56
analogous
#902A9E #9E2A72 #9E2A38
triadic
#9E2A72 #729E2A #2A729E
tetradic
#9E2A72 #9E902A #2A9E56 #2A389E
square
#9E2A72 #9E902A #2A9E56 #2A389E
split-complementary
#9E2A72 #389E2A #2A9E90
monochromatic
#3D102C #6E1D4F #9E2A72 #CB3A94 #D86BAE

Accessibility & contrast

On white

6.94
#9E2A72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E2A72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A72
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A72#FFFFFF#000000##FFFFFF
##9E2A721.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2a72;
/* rgb */ color: rgb(158, 42, 114);
/* oklch */ color: oklch(48.9% 0.168 347.0);
Tailwind
colors: {
  custom: {
    50: '#bf6e9a',
    500: '#9e2a72',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a72;
$custom-light: #bf6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a72",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 322.759,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.1677,
    "h": 347
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#9E2A72
secondary
#66BE87
accent
#E18147
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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