#9E2247#9E2247

#9E2247 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.160 H 8.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9E2247
RGBrgb(158, 34, 71)
HSLhsl(342, 65%, 38%)
HSVhsv(342, 78%, 62%)
CMYKcmyk(0%, 78.5%, 55.1%, 38%)
CIE-LABlab(35.73, 52.00, 9.69)
CIE-LCHlch(35.73, 52.90, 10.56°)
OKLaboklab(46.66% 0.1581 0.0247)
OKLCHoklch(46.66% 0.16 8.9)
XYZxyz(15.8114, 8.8703, 6.8396)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2247 #229E79
analogous
#9E2285 #9E2247 #9E3B22
triadic
#9E2247 #479E22 #22479E
tetradic
#9E2247 #859E22 #229E79 #3B229E
square
#9E2247 #859E22 #229E79 #3B229E
split-complementary
#9E2247 #229E3B #22859E
monochromatic
#390C1A #6C1730 #9E2247 #D02D5E #DC5E84

Accessibility & contrast

On white

7.57
#9E2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9E2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2247
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2247#FFFFFF#000000##FFFFFF
##9E22471.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2247;
/* rgb */ color: rgb(158, 34, 71);
/* oklch */ color: oklch(46.7% 0.160 8.9);
Tailwind
colors: {
  custom: {
    50: '#c16a79',
    500: '#9e2247',
    950: '#000000',
  },
}
SCSS
$custom: #9e2247;
$custom-light: #c16a79;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2247",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 342.097,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46659,
    "c": 0.16002,
    "h": 8.9
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#9E2247
secondary
#5BC1A3
accent
#E8B640
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E2247

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

Preview Lab → · Contrast checker → · Palette generator →

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