#9C216B#9C216B

#9C216B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.172 H 349.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9C216B
RGBrgb(156, 33, 107)
HSLhsl(324, 65%, 37%)
HSVhsv(324, 79%, 61%)
CMYKcmyk(0%, 78.8%, 31.4%, 38.8%)
CIE-LABlab(36.40, 55.33, -12.47)
CIE-LCHlch(36.40, 56.72, 347.30°)
OKLaboklab(47.46% 0.1692 -0.0327)
OKLCHoklch(47.46% 0.172 349.1)
XYZxyz(16.9089, 9.2192, 14.7961)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C216B #219C52
analogous
#8F219C #9C216B #9C212E
triadic
#9C216B #6B9C21 #216B9C
tetradic
#9C216B #9C8F21 #219C52 #212E9C
square
#9C216B #9C8F21 #219C52 #212E9C
split-complementary
#9C216B #2E9C21 #219C8F
monochromatic
#370C26 #691648 #9C216B #CF2C8E #DC5BA9

Accessibility & contrast

On white

7.39
#9C216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9C216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C216B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C216B#FFFFFF#000000##FFFFFF
##9C216B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486D
Deuteranopia (green-blind)
#5A5D68
Tritanopia (blue-blind)
#A81943
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c216b;
/* rgb */ color: rgb(156, 33, 107);
/* oklch */ color: oklch(47.5% 0.172 349.1);
Tailwind
colors: {
  custom: {
    50: '#be6a95',
    500: '#9c216b',
    950: '#000000',
  },
}
SCSS
$custom: #9c216b;
$custom-light: #be6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#9c216b",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 323.902,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47459,
    "c": 0.17228,
    "h": 349.1
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#9C216B
secondary
#58C182
accent
#E88340
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C216B

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

Preview Lab → · Contrast checker → · Palette generator →

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