#9E2170#9E2170

#9E2170 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.176 H 347.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9E2170
RGBrgb(158, 33, 112)
HSLhsl(322, 65%, 37%)
HSVhsv(322, 79%, 62%)
CMYKcmyk(0%, 79.1%, 29.1%, 38%)
CIE-LABlab(36.98, 56.45, -14.72)
CIE-LCHlch(36.98, 58.34, 345.39°)
OKLaboklab(48.02% 0.1721 -0.0389)
OKLCHoklch(48.02% 0.176 347.3)
XYZxyz(17.5699, 9.5287, 16.2400)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2170 #219E4F
analogous
#8E219E #9E2170 #9E2132
triadic
#9E2170 #709E21 #21709E
tetradic
#9E2170 #9E8E21 #219E4F #21329E
square
#9E2170 #9E8E21 #219E4F #21329E
split-complementary
#9E2170 #329E21 #219E8E
monochromatic
#390C28 #6B164C #9E2170 #D12C94 #DD5CAE

Accessibility & contrast

On white

7.23
#9E2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2170
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2170#FFFFFF#000000##FFFFFF
##9E21701.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344972
Deuteranopia (green-blind)
#5A5F6D
Tritanopia (blue-blind)
#A91B46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2170;
/* rgb */ color: rgb(158, 33, 112);
/* oklch */ color: oklch(48.0% 0.176 347.3);
Tailwind
colors: {
  custom: {
    50: '#bf6b99',
    500: '#9e2170',
    950: '#000000',
  },
}
SCSS
$custom: #9e2170;
$custom-light: #bf6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2170",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 322.08,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48016,
    "c": 0.17639,
    "h": 347.3
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#9E2170
secondary
#59C180
accent
#E87E3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2170

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

Preview Lab → · Contrast checker → · Palette generator →

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