#9E2A71#9E2A71

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

Color values

HEX#9E2A71
RGBrgb(158, 42, 113)
HSLhsl(323, 58%, 39%)
HSVhsv(323, 73%, 62%)
CMYKcmyk(0%, 73.4%, 28.5%, 38%)
CIE-LABlab(38.06, 53.65, -13.71)
CIE-LCHlch(38.06, 55.38, 345.67°)
OKLaboklab(48.81% 0.1632 -0.0361)
OKLCHoklch(48.81% 0.167 347.5)
XYZxyz(17.9100, 10.1193, 16.6296)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A71 #2A9E57
analogous
#912A9E #9E2A71 #9E2A37
triadic
#9E2A71 #719E2A #2A719E
tetradic
#9E2A71 #9E912A #2A9E57 #2A379E
square
#9E2A71 #9E912A #2A9E57 #2A379E
split-complementary
#9E2A71 #379E2A #2A9E91
monochromatic
#3D102C #6E1D4E #9E2A71 #CB3A93 #D86BAD

Accessibility & contrast

On white

6.95
#9E2A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E2A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A71
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A71#FFFFFF#000000##FFFFFF
##9E2A711.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2a71;
/* rgb */ color: rgb(158, 42, 113);
/* oklch */ color: oklch(48.8% 0.167 347.5);
Tailwind
colors: {
  custom: {
    50: '#bf6e9a',
    500: '#9e2a71',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a71;
$custom-light: #bf6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a71",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 323.276,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4881,
    "c": 0.16712,
    "h": 347.5
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#9E2A71
secondary
#66BE88
accent
#E18347
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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