#9E1673#9E1673

#9E1673 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.187 H 345.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9E1673
RGBrgb(158, 22, 115)
HSLhsl(319, 76%, 35%)
HSVhsv(319, 86%, 62%)
CMYKcmyk(0%, 86.1%, 27.2%, 38%)
CIE-LABlab(36.14, 59.60, -17.90)
CIE-LCHlch(36.14, 62.23, 343.29°)
OKLaboklab(47.45% 0.1813 -0.0476)
OKLCHoklch(47.45% 0.187 345.3)
XYZxyz(17.4828, 9.0827, 17.0488)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1673 #169E41
analogous
#85169E #9E1673 #9E162F
triadic
#9E1673 #739E16 #16739E
tetradic
#9E1673 #9E8516 #169E41 #162F9E
square
#9E1673 #9E8516 #169E41 #162F9E
split-complementary
#9E1673 #2F9E16 #169E85
monochromatic
#330725 #680F4C #9E1673 #D41D9A #E649B4

Accessibility & contrast

On white

7.46
#9E1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9E1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1673
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1673#FFFFFF#000000##FFFFFF
##9E16731.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4775
Deuteranopia (green-blind)
#565D70
Tritanopia (blue-blind)
#A91245
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1673;
/* rgb */ color: rgb(158, 22, 115);
/* oklch */ color: oklch(47.4% 0.187 345.3);
Tailwind
colors: {
  custom: {
    50: '#bf679b',
    500: '#9e1673',
    950: '#000000',
  },
}
SCSS
$custom: #9e1673;
$custom-light: #bf679b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1673",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 318.971,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.18749,
    "h": 345.3
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#9E1673
secondary
#49C771
accent
#F27136
background
#FCF6F9
surface
#F8EBF2
border
#D1C6CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1673

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

Preview Lab → · Contrast checker → · Palette generator →

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