#9E2168#9E2168

#9E2168 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.172 H 351.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9E2168
RGBrgb(158, 33, 104)
HSLhsl(326, 65%, 37%)
HSVhsv(326, 79%, 62%)
CMYKcmyk(0%, 79.1%, 34.2%, 38%)
CIE-LABlab(36.67, 55.50, -10.14)
CIE-LCHlch(36.67, 56.42, 349.65°)
OKLaboklab(47.68% 0.1702 -0.0263)
OKLCHoklch(47.68% 0.172 351.2)
XYZxyz(17.1441, 9.3584, 13.9975)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2168 #219E57
analogous
#96219E #9E2168 #9E212A
triadic
#9E2168 #689E21 #21689E
tetradic
#9E2168 #9E9621 #219E57 #212A9E
square
#9E2168 #9E9621 #219E57 #212A9E
split-complementary
#9E2168 #2A9E21 #219E96
monochromatic
#390C25 #6B1647 #9E2168 #D12C89 #DD5CA5

Accessibility & contrast

On white

7.31
#9E2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2168
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2168#FFFFFF#000000##FFFFFF
##9E21681.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38486A
Deuteranopia (green-blind)
#5C5E65
Tritanopia (blue-blind)
#AA1642
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e2168;
/* rgb */ color: rgb(158, 33, 104);
/* oklch */ color: oklch(47.7% 0.172 351.2);
Tailwind
colors: {
  custom: {
    50: '#bf6a93',
    500: '#9e2168',
    950: '#000000',
  },
}
SCSS
$custom: #9e2168;
$custom-light: #bf6a93;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2168",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 325.92,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.17218,
    "h": 351.2
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#9E2168
secondary
#59C186
accent
#E8883F
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E2168

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

Preview Lab → · Contrast checker → · Palette generator →

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