#9E167B#9E167B

#9E167B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.192 H 341.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9E167B
RGBrgb(158, 22, 123)
HSLhsl(315, 76%, 35%)
HSVhsv(315, 86%, 62%)
CMYKcmyk(0%, 86.1%, 22.2%, 38%)
CIE-LABlab(36.51, 60.61, -22.36)
CIE-LCHlch(36.51, 64.60, 339.75°)
OKLaboklab(47.83% 0.1825 -0.0602)
OKLCHoklch(47.83% 0.192 341.7)
XYZxyz(17.9633, 9.2749, 19.5793)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E167B #169E39
analogous
#7D169E #9E167B #9E1637
triadic
#9E167B #7B9E16 #167B9E
tetradic
#9E167B #9E7D16 #169E39 #16379E
square
#9E167B #9E7D16 #169E39 #16379E
split-complementary
#9E167B #379E16 #169E7D
monochromatic
#330727 #680F51 #9E167B #D41DA5 #E649BD

Accessibility & contrast

On white

7.36
#9E167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9E167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E167B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E167B#FFFFFF#000000##FFFFFF
##9E167B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487D
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#A81949
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e167b;
/* rgb */ color: rgb(158, 22, 123);
/* oklch */ color: oklch(47.8% 0.192 341.7);
Tailwind
colors: {
  custom: {
    50: '#bf68a1',
    500: '#9e167b',
    950: '#000000',
  },
}
SCSS
$custom: #9e167b;
$custom-light: #bf68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e167b",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 315.441,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47832,
    "c": 0.1922,
    "h": 341.7
  },
  "luminance": 0.09273
}

Semantic roles & 50–950 ramp

primary
#9E167B
secondary
#49C769
accent
#F26636
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9E167B

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

Preview Lab → · Contrast checker → · Palette generator →

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