#9E167F#9E167F

#9E167F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.195 H 340.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E167F
RGBrgb(158, 22, 127)
HSLhsl(314, 76%, 35%)
HSVhsv(314, 86%, 62%)
CMYKcmyk(0%, 86.1%, 19.6%, 38%)
CIE-LABlab(36.70, 61.13, -24.55)
CIE-LCHlch(36.70, 65.88, 338.12°)
OKLaboklab(48.03% 0.183 -0.0664)
OKLCHoklch(48.03% 0.195 340)
XYZxyz(18.2188, 9.3771, 20.9251)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E167F #169E35
analogous
#79169E #9E167F #9E163B
triadic
#9E167F #7F9E16 #167F9E
tetradic
#9E167F #9E7916 #169E35 #163B9E
square
#9E167F #9E7916 #169E35 #163B9E
split-complementary
#9E167F #3B9E16 #169E79
monochromatic
#330729 #680F54 #9E167F #D41DAA #E649C2

Accessibility & contrast

On white

7.30
#9E167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E167F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E167F#FFFFFF#000000##FFFFFF
##9E167F1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234982
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#A81D4C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e167f;
/* rgb */ color: rgb(158, 22, 127);
/* oklch */ color: oklch(48.0% 0.195 340.0);
Tailwind
colors: {
  custom: {
    50: '#bf68a4',
    500: '#9e167f',
    950: '#000000',
  },
}
SCSS
$custom: #9e167f;
$custom-light: #bf68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e167f",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 313.676,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48032,
    "c": 0.19468,
    "h": 340
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#9E167F
secondary
#49C766
accent
#F26136
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E167F

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

Preview Lab → · Contrast checker → · Palette generator →

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