#9C226B#9C226B

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

Color values

HEX#9C226B
RGBrgb(156, 34, 107)
HSLhsl(324, 64%, 37%)
HSVhsv(324, 78%, 61%)
CMYKcmyk(0%, 78.2%, 31.4%, 38.8%)
CIE-LABlab(36.51, 55.03, -12.31)
CIE-LCHlch(36.51, 56.39, 347.39°)
OKLaboklab(47.54% 0.1682 -0.0323)
OKLCHoklch(47.54% 0.171 349.1)
XYZxyz(16.9371, 9.2755, 14.8055)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C226B #229C53
analogous
#90229C #9C226B #9C222E
triadic
#9C226B #6B9C22 #226B9C
tetradic
#9C226B #9C9022 #229C53 #222E9C
square
#9C226B #9C9022 #229C53 #222E9C
split-complementary
#9C226B #2E9C22 #229C90
monochromatic
#380C26 #6A1749 #9C226B #CE2D8D #DC5DA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C226B#FFFFFF#000000##FFFFFF
##9C226B1.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)
#36486D
Deuteranopia (green-blind)
#5A5E68
Tritanopia (blue-blind)
#A81A44
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c226b;
/* rgb */ color: rgb(156, 34, 107);
/* oklch */ color: oklch(47.5% 0.171 349.1);
Tailwind
colors: {
  custom: {
    50: '#be6a95',
    500: '#9c226b',
    950: '#000000',
  },
}
SCSS
$custom: #9c226b;
$custom-light: #be6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#9c226b",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 324.098,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47537,
    "c": 0.17127,
    "h": 349.1
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#9C226B
secondary
#5AC083
accent
#E78441
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C226B

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

Preview Lab → · Contrast checker → · Palette generator →

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