#9E2A74#9E2A74

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

Color values

HEX#9E2A74
RGBrgb(158, 42, 116)
HSLhsl(322, 58%, 39%)
HSVhsv(322, 73%, 62%)
CMYKcmyk(0%, 73.4%, 26.6%, 38%)
CIE-LABlab(38.18, 54.04, -15.40)
CIE-LCHlch(38.18, 56.19, 344.09°)
OKLaboklab(48.94% 0.1639 -0.0408)
OKLCHoklch(48.94% 0.169 346)
XYZxyz(18.0817, 10.1879, 17.5338)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A74 #2A9E54
analogous
#8E2A9E #9E2A74 #9E2A3A
triadic
#9E2A74 #749E2A #2A749E
tetradic
#9E2A74 #9E8E2A #2A9E54 #2A3A9E
square
#9E2A74 #9E8E2A #2A9E54 #2A3A9E
split-complementary
#9E2A74 #3A9E2A #2A9E8E
monochromatic
#3D102D #6E1D51 #9E2A74 #CB3A97 #D86BB0

Accessibility & contrast

On white

6.91
#9E2A74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2A74
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A74#FFFFFF#000000##FFFFFF
##9E2A741.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D76
Deuteranopia (green-blind)
#5B6171
Tritanopia (blue-blind)
#A9274B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2a74;
/* rgb */ color: rgb(158, 42, 116);
/* oklch */ color: oklch(48.9% 0.169 346.0);
Tailwind
colors: {
  custom: {
    50: '#bf6e9c',
    500: '#9e2a74',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a74;
$custom-light: #bf6e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a74",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 321.724,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48939,
    "c": 0.16887,
    "h": 346
  },
  "luminance": 0.10186
}

Semantic roles & 50–950 ramp

primary
#9E2A74
secondary
#66BE86
accent
#E17F47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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