#9E2047#9E2047

#9E2047 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.162 H 8.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9E2047
RGBrgb(158, 32, 71)
HSLhsl(341, 66%, 37%)
HSVhsv(341, 80%, 62%)
CMYKcmyk(0%, 79.7%, 55.1%, 38%)
CIE-LABlab(35.52, 52.61, 9.39)
CIE-LCHlch(35.52, 53.44, 10.12°)
OKLaboklab(46.5% 0.1601 0.0239)
OKLCHoklch(46.5% 0.162 8.5)
XYZxyz(15.7559, 8.7593, 6.8211)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2047 #209E77
analogous
#9E2086 #9E2047 #9E3820
triadic
#9E2047 #479E20 #20479E
tetradic
#9E2047 #869E20 #209E77 #38209E
square
#9E2047 #869E20 #209E77 #38209E
split-complementary
#9E2047 #209E38 #20869E
monochromatic
#380B19 #6B1630 #9E2047 #D12A5E #DE5B83

Accessibility & contrast

On white

7.63
#9E2047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9E2047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2047
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2047#FFFFFF#000000##FFFFFF
##9E20471.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424348
Deuteranopia (green-blind)
#635D44
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2047;
/* rgb */ color: rgb(158, 32, 71);
/* oklch */ color: oklch(46.5% 0.162 8.5);
Tailwind
colors: {
  custom: {
    50: '#c16979',
    500: '#9e2047',
    950: '#000000',
  },
}
SCSS
$custom: #9e2047;
$custom-light: #c16979;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2047",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 341.429,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46499,
    "c": 0.16187,
    "h": 8.5
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#9E2047
secondary
#58C2A1
accent
#E9B43F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E2047

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

Preview Lab → · Contrast checker → · Palette generator →

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