#9E2162#9E2162

#9E2162 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.169 H 354.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9E2162
RGBrgb(158, 33, 98)
HSLhsl(329, 65%, 37%)
HSVhsv(329, 79%, 62%)
CMYKcmyk(0%, 79.1%, 38%, 38%)
CIE-LABlab(36.44, 54.83, -6.65)
CIE-LCHlch(36.44, 55.23, 353.08°)
OKLaboklab(47.45% 0.1685 -0.0169)
OKLCHoklch(47.45% 0.169 354.3)
XYZxyz(16.8501, 9.2408, 12.4492)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2162 #219E5D
analogous
#9C219E #9E2162 #9E2124
triadic
#9E2162 #629E21 #21629E
tetradic
#9E2162 #9E9C21 #219E5D #21249E
square
#9E2162 #9E9C21 #219E5D #21249E
split-complementary
#9E2162 #249E21 #219E9C
monochromatic
#390C23 #6B1643 #9E2162 #D12C81 #DD5C9F

Accessibility & contrast

On white

7.37
#9E2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9E2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2162
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2162#FFFFFF#000000##FFFFFF
##9E21621.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4764
Deuteranopia (green-blind)
#5E5E5F
Tritanopia (blue-blind)
#AB103F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e2162;
/* rgb */ color: rgb(158, 33, 98);
/* oklch */ color: oklch(47.4% 0.169 354.3);
Tailwind
colors: {
  custom: {
    50: '#bf6a8e',
    500: '#9e2162',
    950: '#000000',
  },
}
SCSS
$custom: #9e2162;
$custom-light: #bf6a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2162",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 328.8,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47447,
    "c": 0.16934,
    "h": 354.3
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#9E2162
secondary
#59C18B
accent
#E8913F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E2162

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

Preview Lab → · Contrast checker → · Palette generator →

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