#9C226C#9C226C

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

Color values

HEX#9C226C
RGBrgb(156, 34, 108)
HSLhsl(324, 64%, 37%)
HSVhsv(324, 78%, 61%)
CMYKcmyk(0%, 78.2%, 30.8%, 38.8%)
CIE-LABlab(36.55, 55.15, -12.88)
CIE-LCHlch(36.55, 56.64, 346.85°)
OKLaboklab(47.58% 0.1684 -0.0338)
OKLCHoklch(47.58% 0.172 348.6)
XYZxyz(16.9900, 9.2967, 15.0842)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C226C #229C52
analogous
#8F229C #9C226C #9C222F
triadic
#9C226C #6C9C22 #226C9C
tetradic
#9C226C #9C8F22 #229C52 #222F9C
square
#9C226C #9C8F22 #229C52 #222F9C
split-complementary
#9C226C #2F9C22 #229C8F
monochromatic
#380C26 #6A1749 #9C226C #CE2D8F #DC5DAA

Accessibility & contrast

On white

7.35
#9C226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C226C
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C226C#FFFFFF#000000##FFFFFF
##9C226C1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486E
Deuteranopia (green-blind)
#5A5E69
Tritanopia (blue-blind)
#A81B44
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c226c;
/* rgb */ color: rgb(156, 34, 108);
/* oklch */ color: oklch(47.6% 0.172 348.6);
Tailwind
colors: {
  custom: {
    50: '#be6b96',
    500: '#9c226c',
    950: '#000000',
  },
}
SCSS
$custom: #9c226c;
$custom-light: #be6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#9c226c",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 323.607,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.17179,
    "h": 348.6
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#9C226C
secondary
#5AC082
accent
#E78241
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C226C

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

Preview Lab → · Contrast checker → · Palette generator →

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