#9E2A52#9E2A52

#9E2A52 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.154 H 4.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9E2A52
RGBrgb(158, 42, 82)
HSLhsl(339, 58%, 39%)
HSVhsv(339, 73%, 62%)
CMYKcmyk(0%, 73.4%, 48.1%, 38%)
CIE-LABlab(37.00, 50.22, 4.40)
CIE-LCHlch(37.00, 50.41, 5.00°)
OKLaboklab(47.69% 0.1536 0.0118)
OKLCHoklch(47.69% 0.154 4.4)
XYZxyz(16.4529, 9.5364, 8.9553)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A52 #2A9E76
analogous
#9E2A8C #9E2A52 #9E3C2A
triadic
#9E2A52 #529E2A #2A529E
tetradic
#9E2A52 #8C9E2A #2A9E76 #3C2A9E
square
#9E2A52 #8C9E2A #2A9E76 #3C2A9E
split-complementary
#9E2A52 #2A9E3C #2A8C9E
monochromatic
#3D1020 #6E1D39 #9E2A52 #CB3A6C #D86B90

Accessibility & contrast

On white

7.22
#9E2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A52
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A52#FFFFFF#000000##FFFFFF
##9E2A521.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#645F4F
Tritanopia (blue-blind)
#AC143B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2a52;
/* rgb */ color: rgb(158, 42, 82);
/* oklch */ color: oklch(47.7% 0.154 4.4);
Tailwind
colors: {
  custom: {
    50: '#c06d82',
    500: '#9e2a52',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a52;
$custom-light: #c06d82;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a52",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 339.31,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47687,
    "c": 0.15402,
    "h": 4.4
  },
  "luminance": 0.09534
}

Semantic roles & 50–950 ramp

primary
#9E2A52
secondary
#66BEA0
accent
#E1AC47
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9E2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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