#9E2173#9E2173

#9E2173 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.178 H 345.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9E2173
RGBrgb(158, 33, 115)
HSLhsl(321, 65%, 37%)
HSVhsv(321, 79%, 62%)
CMYKcmyk(0%, 79.1%, 27.2%, 38%)
CIE-LABlab(37.11, 56.83, -16.41)
CIE-LCHlch(37.11, 59.15, 343.89°)
OKLaboklab(48.15% 0.1727 -0.0436)
OKLCHoklch(48.15% 0.178 345.8)
XYZxyz(17.7397, 9.5966, 17.1344)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2173 #219E4C
analogous
#8B219E #9E2173 #9E2135
triadic
#9E2173 #739E21 #21739E
tetradic
#9E2173 #9E8B21 #219E4C #21359E
square
#9E2173 #9E8B21 #219E4C #21359E
split-complementary
#9E2173 #359E21 #219E8B
monochromatic
#390C29 #6B164E #9E2173 #D12C98 #DD5CB1

Accessibility & contrast

On white

7.19
#9E2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9E2173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2173
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2173#FFFFFF#000000##FFFFFF
##9E21731.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A75
Deuteranopia (green-blind)
#595F70
Tritanopia (blue-blind)
#A91E48
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2173;
/* rgb */ color: rgb(158, 33, 115);
/* oklch */ color: oklch(48.1% 0.178 345.8);
Tailwind
colors: {
  custom: {
    50: '#bf6b9b',
    500: '#9e2173',
    950: '#000000',
  },
}
SCSS
$custom: #9e2173;
$custom-light: #bf6b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2173",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 320.64,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48148,
    "c": 0.1781,
    "h": 345.8
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#9E2173
secondary
#59C17D
accent
#E87A3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2173

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

Preview Lab → · Contrast checker → · Palette generator →

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