#9C216F#9C216F

#9C216F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.174 H 347.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9C216F
RGBrgb(156, 33, 111)
HSLhsl(322, 65%, 37%)
HSVhsv(322, 79%, 61%)
CMYKcmyk(0%, 78.8%, 28.8%, 38.8%)
CIE-LABlab(36.57, 55.82, -14.76)
CIE-LCHlch(36.57, 57.74, 345.19°)
OKLaboklab(47.63% 0.1701 -0.039)
OKLCHoklch(47.63% 0.174 347.1)
XYZxyz(17.1242, 9.3053, 15.9301)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C216F #219C4E
analogous
#8B219C #9C216F #9C2132
triadic
#9C216F #6F9C21 #216F9C
tetradic
#9C216F #9C8B21 #219C4E #21329C
square
#9C216F #9C8B21 #219C4E #21329C
split-complementary
#9C216F #329C21 #219C8B
monochromatic
#370C27 #69164B #9C216F #CF2C93 #DC5BAD

Accessibility & contrast

On white

7.34
#9C216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9C216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C216F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C216F#FFFFFF#000000##FFFFFF
##9C216F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c216f;
/* rgb */ color: rgb(156, 33, 111);
/* oklch */ color: oklch(47.6% 0.174 347.1);
Tailwind
colors: {
  custom: {
    50: '#bd6a98',
    500: '#9c216f',
    950: '#000000',
  },
}
SCSS
$custom: #9c216f;
$custom-light: #bd6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#9c216f",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 321.951,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4763,
    "c": 0.17447,
    "h": 347.1
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#9C216F
secondary
#58C17E
accent
#E87D40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C216F

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

Preview Lab → · Contrast checker → · Palette generator →

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