#9E2972#9E2972

#9E2972 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.169 H 346.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9E2972
RGBrgb(158, 41, 114)
HSLhsl(323, 59%, 39%)
HSVhsv(323, 74%, 62%)
CMYKcmyk(0%, 74.1%, 27.8%, 38%)
CIE-LABlab(37.97, 54.13, -14.46)
CIE-LCHlch(37.97, 56.03, 345.04°)
OKLaboklab(48.76% 0.1645 -0.0382)
OKLCHoklch(48.76% 0.169 346.9)
XYZxyz(17.9316, 10.0718, 16.9161)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2972 #299E55
analogous
#90299E #9E2972 #9E2938
triadic
#9E2972 #729E29 #29729E
tetradic
#9E2972 #9E9029 #299E55 #29389E
square
#9E2972 #9E9029 #299E55 #29389E
split-complementary
#9E2972 #389E29 #299E90
monochromatic
#3D102C #6D1C4F #9E2972 #CC3994 #D869AE

Accessibility & contrast

On white

6.97
#9E2972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E2972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2972
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2972#FFFFFF#000000##FFFFFF
##9E29721.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D74
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#A9254A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2972;
/* rgb */ color: rgb(158, 41, 114);
/* oklch */ color: oklch(48.8% 0.169 346.9);
Tailwind
colors: {
  custom: {
    50: '#bf6e9a',
    500: '#9e2972',
    950: '#000000',
  },
}
SCSS
$custom: #9e2972;
$custom-light: #bf6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2972",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 322.564,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.16888,
    "h": 346.9
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#9E2972
secondary
#64BF86
accent
#E28146
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2972

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

Preview Lab → · Contrast checker → · Palette generator →

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