#9E167C#9E167C

#9E167C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.193 H 341.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9E167C
RGBrgb(158, 22, 124)
HSLhsl(315, 76%, 35%)
HSVhsv(315, 86%, 62%)
CMYKcmyk(0%, 86.1%, 21.5%, 38%)
CIE-LABlab(36.56, 60.74, -22.91)
CIE-LCHlch(36.56, 64.91, 339.34°)
OKLaboklab(47.88% 0.1827 -0.0618)
OKLCHoklch(47.88% 0.193 341.3)
XYZxyz(18.0262, 9.3001, 19.9107)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E167C #169E38
analogous
#7C169E #9E167C #9E1638
triadic
#9E167C #7C9E16 #167C9E
tetradic
#9E167C #9E7C16 #169E38 #16389E
square
#9E167C #9E7C16 #169E38 #16389E
split-complementary
#9E167C #389E16 #169E7C
monochromatic
#330728 #680F52 #9E167C #D41DA6 #E649BE

Accessibility & contrast

On white

7.34
#9E167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9E167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E167C
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E167C#FFFFFF#000000##FFFFFF
##9E167C1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487E
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#A81A4A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e167c;
/* rgb */ color: rgb(158, 22, 124);
/* oklch */ color: oklch(47.9% 0.193 341.3);
Tailwind
colors: {
  custom: {
    50: '#bf68a2',
    500: '#9e167c',
    950: '#000000',
  },
}
SCSS
$custom: #9e167c;
$custom-light: #bf68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e167c",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 315,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47882,
    "c": 0.19281,
    "h": 341.3
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#9E167C
secondary
#49C768
accent
#F26536
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E167C

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

Preview Lab → · Contrast checker → · Palette generator →

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