#9D167F#9D167F

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

Color values

HEX#9D167F
RGBrgb(157, 22, 127)
HSLhsl(313, 75%, 35%)
HSVhsv(313, 86%, 62%)
CMYKcmyk(0%, 86%, 19.1%, 38.4%)
CIE-LABlab(36.51, 60.91, -24.86)
CIE-LCHlch(36.51, 65.79, 337.80°)
OKLaboklab(47.86% 0.1821 -0.0673)
OKLCHoklch(47.86% 0.194 339.7)
XYZxyz(18.0229, 9.2761, 20.9159)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D167F #169D34
analogous
#77169D #9D167F #9D163C
triadic
#9D167F #7F9D16 #167F9D
tetradic
#9D167F #9D7716 #169D34 #163C9D
square
#9D167F #9D7716 #169D34 #163C9D
split-complementary
#9D167F #3C9D16 #169D77
monochromatic
#320728 #670E54 #9D167F #D31EAA #E548C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D167F#FFFFFF#000000##FFFFFF
##9D167F1.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)
#224982
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A71D4C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d167f;
/* rgb */ color: rgb(157, 22, 127);
/* oklch */ color: oklch(47.9% 0.194 339.7);
Tailwind
colors: {
  custom: {
    50: '#be68a4',
    500: '#9d167f',
    950: '#000000',
  },
}
SCSS
$custom: #9d167f;
$custom-light: #be68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d167f",
  "rgb": {
    "r": 157,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 313.333,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47862,
    "c": 0.19414,
    "h": 339.7
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#9D167F
secondary
#48C764
accent
#F26036
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D167F

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

Preview Lab → · Contrast checker → · Palette generator →

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