#9E167D#9E167D

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

Color values

HEX#9E167D
RGBrgb(158, 22, 125)
HSLhsl(315, 76%, 35%)
HSVhsv(315, 86%, 62%)
CMYKcmyk(0%, 86.1%, 20.9%, 38%)
CIE-LABlab(36.60, 60.87, -23.46)
CIE-LCHlch(36.60, 65.23, 338.93°)
OKLaboklab(47.93% 0.1828 -0.0633)
OKLCHoklch(47.93% 0.193 340.9)
XYZxyz(18.0898, 9.3255, 20.2454)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E167D #169E37
analogous
#7B169E #9E167D #9E1639
triadic
#9E167D #7D9E16 #167D9E
tetradic
#9E167D #9E7B16 #169E37 #16399E
square
#9E167D #9E7B16 #169E37 #16399E
split-complementary
#9E167D #399E16 #169E7B
monochromatic
#330728 #680F52 #9E167D #D41DA7 #E649C0

Accessibility & contrast

On white

7.33
#9E167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E167D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E167D#FFFFFF#000000##FFFFFF
##9E167D1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25497F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A81B4B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e167d;
/* rgb */ color: rgb(158, 22, 125);
/* oklch */ color: oklch(47.9% 0.193 340.9);
Tailwind
colors: {
  custom: {
    50: '#bf68a3',
    500: '#9e167d',
    950: '#000000',
  },
}
SCSS
$custom: #9e167d;
$custom-light: #bf68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e167d",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 314.559,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47931,
    "c": 0.19343,
    "h": 340.9
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#9E167D
secondary
#49C767
accent
#F26336
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E167D

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

Preview Lab → · Contrast checker → · Palette generator →

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