#9E2242#9E2242

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

Color values

HEX#9E2242
RGBrgb(158, 34, 66)
HSLhsl(345, 65%, 38%)
HSVhsv(345, 78%, 62%)
CMYKcmyk(0%, 78.5%, 58.2%, 38%)
CIE-LABlab(35.61, 51.62, 12.76)
CIE-LCHlch(35.61, 53.17, 13.88°)
OKLaboklab(46.53% 0.1561 0.0319)
OKLCHoklch(46.53% 0.159 11.5)
XYZxyz(15.6575, 8.8088, 6.0290)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2242 #229E7E
analogous
#9E2280 #9E2242 #9E4022
triadic
#9E2242 #429E22 #22429E
tetradic
#9E2242 #809E22 #229E7E #40229E
square
#9E2242 #809E22 #229E7E #40229E
split-complementary
#9E2242 #229E40 #22809E
monochromatic
#390C18 #6C172D #9E2242 #D02D57 #DC5E7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2242#FFFFFF#000000##FFFFFF
##9E22421.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)
#444442
Deuteranopia (green-blind)
#645D3F
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2242;
/* rgb */ color: rgb(158, 34, 66);
/* oklch */ color: oklch(46.5% 0.159 11.5);
Tailwind
colors: {
  custom: {
    50: '#c16976',
    500: '#9e2242',
    950: '#000000',
  },
}
SCSS
$custom: #9e2242;
$custom-light: #c16976;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2242",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 344.516,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46531,
    "c": 0.15934,
    "h": 11.5
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#9E2242
secondary
#5BC1A7
accent
#E8BC40
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E2242

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

Preview Lab → · Contrast checker → · Palette generator →

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