#9D216F#9D216F

#9D216F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.175 H 347.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9D216F
RGBrgb(157, 33, 111)
HSLhsl(322, 65%, 37%)
HSVhsv(322, 79%, 62%)
CMYKcmyk(0%, 79%, 29.3%, 38.4%)
CIE-LABlab(36.75, 56.08, -14.45)
CIE-LCHlch(36.75, 57.91, 345.55°)
OKLaboklab(47.8% 0.171 -0.0381)
OKLCHoklch(47.8% 0.175 347.4)
XYZxyz(17.3186, 9.4055, 15.9393)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D216F #219D4F
analogous
#8D219D #9D216F #9D2131
triadic
#9D216F #6F9D21 #216F9D
tetradic
#9D216F #9D8D21 #219D4F #21319D
square
#9D216F #9D8D21 #219D4F #21319D
split-complementary
#9D216F #319D21 #219D8D
monochromatic
#380C27 #6A164B #9D216F #D02C93 #DD5CAD

Accessibility & contrast

On white

7.29
#9D216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9D216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D216F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D216F#FFFFFF#000000##FFFFFF
##9D216F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A81B46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d216f;
/* rgb */ color: rgb(157, 33, 111);
/* oklch */ color: oklch(47.8% 0.175 347.4);
Tailwind
colors: {
  custom: {
    50: '#be6a98',
    500: '#9d216f',
    950: '#000000',
  },
}
SCSS
$custom: #9d216f;
$custom-light: #be6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#9d216f",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 322.258,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.17515,
    "h": 347.4
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#9D216F
secondary
#59C17F
accent
#E87E40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D216F

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

Preview Lab → · Contrast checker → · Palette generator →

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