#9E167E#9E167E

#9E167E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 48.0% C 0.194 H 340.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9E167E
RGBrgb(158, 22, 126)
HSLhsl(314, 76%, 35%)
HSVhsv(314, 86%, 62%)
CMYKcmyk(0%, 86.1%, 20.3%, 38%)
CIE-LABlab(36.65, 61.00, -24.01)
CIE-LCHlch(36.65, 65.55, 338.52°)
OKLaboklab(47.98% 0.1829 -0.0649)
OKLCHoklch(47.98% 0.194 340.5)
XYZxyz(18.1540, 9.3512, 20.5835)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E167E #169E36
analogous
#7A169E #9E167E #9E163A
triadic
#9E167E #7E9E16 #167E9E
tetradic
#9E167E #9E7A16 #169E36 #163A9E
square
#9E167E #9E7A16 #169E36 #163A9E
split-complementary
#9E167E #3A9E16 #169E7A
monochromatic
#330728 #680F53 #9E167E #D41DA9 #E649C1

Accessibility & contrast

On white

7.32
#9E167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E167E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E167E#FFFFFF#000000##FFFFFF
##9E167E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#A81C4B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e167e;
/* rgb */ color: rgb(158, 22, 126);
/* oklch */ color: oklch(48.0% 0.194 340.5);
Tailwind
colors: {
  custom: {
    50: '#bf68a3',
    500: '#9e167e',
    950: '#000000',
  },
}
SCSS
$custom: #9e167e;
$custom-light: #bf68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e167e",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 314.118,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.19405,
    "h": 340.5
  },
  "luminance": 0.09349
}

Semantic roles & 50–950 ramp

primary
#9E167E
secondary
#49C767
accent
#F26236
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E167E

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

Preview Lab → · Contrast checker → · Palette generator →

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