#9E2177#9E2177

#9E2177 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.180 H 344.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9E2177
RGBrgb(158, 33, 119)
HSLhsl(319, 65%, 37%)
HSVhsv(319, 79%, 62%)
CMYKcmyk(0%, 79.1%, 24.7%, 38%)
CIE-LABlab(37.28, 57.34, -18.65)
CIE-LCHlch(37.28, 60.30, 341.98°)
OKLaboklab(48.33% 0.1734 -0.0498)
OKLCHoklch(48.33% 0.18 344)
XYZxyz(17.9749, 9.6907, 18.3731)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2177 #219E48
analogous
#87219E #9E2177 #9E2139
triadic
#9E2177 #779E21 #21779E
tetradic
#9E2177 #9E8721 #219E48 #21399E
square
#9E2177 #9E8721 #219E48 #21399E
split-complementary
#9E2177 #399E21 #219E87
monochromatic
#390C2B #6B1651 #9E2177 #D12C9D #DD5CB5

Accessibility & contrast

On white

7.15
#9E2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2177
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2177#FFFFFF#000000##FFFFFF
##9E21771.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A79
Deuteranopia (green-blind)
#585F74
Tritanopia (blue-blind)
#A9204A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2177;
/* rgb */ color: rgb(158, 33, 119);
/* oklch */ color: oklch(48.3% 0.180 344.0);
Tailwind
colors: {
  custom: {
    50: '#bf6b9e',
    500: '#9e2177',
    950: '#000000',
  },
}
SCSS
$custom: #9e2177;
$custom-light: #bf6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2177",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 318.72,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.18046,
    "h": 344
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#9E2177
secondary
#59C17A
accent
#E8743F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2177

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

Preview Lab → · Contrast checker → · Palette generator →

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