#9E2052#9E2052

#9E2052 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.164 H 2.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9E2052
RGBrgb(158, 32, 82)
HSLhsl(336, 66%, 37%)
HSVhsv(336, 80%, 62%)
CMYKcmyk(0%, 79.7%, 48.1%, 38%)
CIE-LABlab(35.82, 53.54, 2.70)
CIE-LCHlch(35.82, 53.61, 2.89°)
OKLaboklab(46.82% 0.1642 0.0075)
OKLCHoklch(46.82% 0.164 2.6)
XYZxyz(16.1414, 8.9135, 8.8515)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2052 #209E6C
analogous
#9E2091 #9E2052 #9E2D20
triadic
#9E2052 #529E20 #20529E
tetradic
#9E2052 #919E20 #209E6C #2D209E
square
#9E2052 #919E20 #209E6C #2D209E
split-complementary
#9E2052 #209E2D #20919E
monochromatic
#380B1D #6B1638 #9E2052 #D12A6C #DE5B8F

Accessibility & contrast

On white

7.55
#9E2052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9E2052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2052
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2052#FFFFFF#000000##FFFFFF
##9E20521.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4553
Deuteranopia (green-blind)
#615D4F
Tritanopia (blue-blind)
#AC0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2052;
/* rgb */ color: rgb(158, 32, 82);
/* oklch */ color: oklch(46.8% 0.164 2.6);
Tailwind
colors: {
  custom: {
    50: '#c06982',
    500: '#9e2052',
    950: '#000000',
  },
}
SCSS
$custom: #9e2052;
$custom-light: #c06982;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2052",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 336.19,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46818,
    "c": 0.1644,
    "h": 2.6
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#9E2052
secondary
#58C298
accent
#E9A63F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E2052

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

Preview Lab → · Contrast checker → · Palette generator →

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