#9E2147#9E2147

#9E2147 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.161 H 8.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9E2147
RGBrgb(158, 33, 71)
HSLhsl(342, 65%, 37%)
HSVhsv(342, 79%, 62%)
CMYKcmyk(0%, 79.1%, 55.1%, 38%)
CIE-LABlab(35.62, 52.31, 9.54)
CIE-LCHlch(35.62, 53.17, 10.34°)
OKLaboklab(46.58% 0.1591 0.0243)
OKLCHoklch(46.58% 0.161 8.7)
XYZxyz(15.7832, 8.8140, 6.8302)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2147 #219E78
analogous
#9E2186 #9E2147 #9E3A21
triadic
#9E2147 #479E21 #21479E
tetradic
#9E2147 #869E21 #219E78 #3A219E
square
#9E2147 #869E21 #219E78 #3A219E
split-complementary
#9E2147 #219E3A #21869E
monochromatic
#390C1A #6B1630 #9E2147 #D12C5E #DD5C83

Accessibility & contrast

On white

7.60
#9E2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9E2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2147
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2147#FFFFFF#000000##FFFFFF
##9E21471.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2147;
/* rgb */ color: rgb(158, 33, 71);
/* oklch */ color: oklch(46.6% 0.161 8.7);
Tailwind
colors: {
  custom: {
    50: '#c16979',
    500: '#9e2147',
    950: '#000000',
  },
}
SCSS
$custom: #9e2147;
$custom-light: #c16979;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2147",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 341.76,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46578,
    "c": 0.16095,
    "h": 8.7
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#9E2147
secondary
#59C1A2
accent
#E8B53F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E2147

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

Preview Lab → · Contrast checker → · Palette generator →

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