#9E2142#9E2142

#9E2142 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.160 H 11.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9E2142
RGBrgb(158, 33, 66)
HSLhsl(344, 65%, 37%)
HSVhsv(344, 79%, 62%)
CMYKcmyk(0%, 79.1%, 58.2%, 38%)
CIE-LABlab(35.50, 51.93, 12.61)
CIE-LCHlch(35.50, 53.44, 13.65°)
OKLaboklab(46.45% 0.1571 0.0315)
OKLCHoklch(46.45% 0.16 11.3)
XYZxyz(15.6293, 8.7524, 6.0196)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2142 #219E7D
analogous
#9E2181 #9E2142 #9E3F21
triadic
#9E2142 #429E21 #21429E
tetradic
#9E2142 #819E21 #219E7D #3F219E
square
#9E2142 #819E21 #219E7D #3F219E
split-complementary
#9E2142 #219E3F #21819E
monochromatic
#390C18 #6B162D #9E2142 #D12C57 #DD5C7E

Accessibility & contrast

On white

7.64
#9E2142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2142
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2142#FFFFFF#000000##FFFFFF
##9E21421.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434342
Deuteranopia (green-blind)
#645D3F
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2142;
/* rgb */ color: rgb(158, 33, 66);
/* oklch */ color: oklch(46.5% 0.160 11.3);
Tailwind
colors: {
  custom: {
    50: '#c16976',
    500: '#9e2142',
    950: '#000000',
  },
}
SCSS
$custom: #9e2142;
$custom-light: #c16976;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2142",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 344.16,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4645,
    "c": 0.16025,
    "h": 11.3
  },
  "luminance": 0.0875
}

Semantic roles & 50–950 ramp

primary
#9E2142
secondary
#59C1A6
accent
#E8BC3F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E2142

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

Preview Lab → · Contrast checker → · Palette generator →

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