#9E2161#9E2161

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

Color values

HEX#9E2161
RGBrgb(158, 33, 97)
HSLhsl(329, 65%, 37%)
HSVhsv(329, 79%, 62%)
CMYKcmyk(0%, 79.1%, 38.6%, 38%)
CIE-LABlab(36.41, 54.72, -6.07)
CIE-LCHlch(36.41, 55.06, 353.68°)
OKLaboklab(47.41% 0.1682 -0.0153)
OKLCHoklch(47.41% 0.169 354.8)
XYZxyz(16.8032, 9.2220, 12.2021)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2161 #219E5E
analogous
#9D219E #9E2161 #9E2123
triadic
#9E2161 #619E21 #21619E
tetradic
#9E2161 #9E9D21 #219E5E #21239E
square
#9E2161 #9E9D21 #219E5E #21239E
split-complementary
#9E2161 #239E21 #219E9D
monochromatic
#390C23 #6B1642 #9E2161 #D12C80 #DD5C9E

Accessibility & contrast

On white

7.38
#9E2161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9E2161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2161
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2161#FFFFFF#000000##FFFFFF
##9E21611.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4763
Deuteranopia (green-blind)
#5E5E5E
Tritanopia (blue-blind)
#AB103E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e2161;
/* rgb */ color: rgb(158, 33, 97);
/* oklch */ color: oklch(47.4% 0.169 354.8);
Tailwind
colors: {
  custom: {
    50: '#c06a8d',
    500: '#9e2161',
    950: '#000000',
  },
}
SCSS
$custom: #9e2161;
$custom-light: #c06a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2161",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 329.28,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4741,
    "c": 0.16891,
    "h": 354.8
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#9E2161
secondary
#59C18C
accent
#E8923F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E2161

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

Preview Lab → · Contrast checker → · Palette generator →

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