#9C226D#9C226D

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

Color values

HEX#9C226D
RGBrgb(156, 34, 109)
HSLhsl(323, 64%, 37%)
HSVhsv(323, 78%, 61%)
CMYKcmyk(0%, 78.2%, 30.1%, 38.8%)
CIE-LABlab(36.59, 55.27, -13.46)
CIE-LCHlch(36.59, 56.89, 346.32°)
OKLaboklab(47.62% 0.1687 -0.0354)
OKLCHoklch(47.62% 0.172 348.1)
XYZxyz(17.0435, 9.3181, 15.3661)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C226D #229C51
analogous
#8E229C #9C226D #9C2230
triadic
#9C226D #6D9C22 #226D9C
tetradic
#9C226D #9C8E22 #229C51 #22309C
square
#9C226D #9C8E22 #229C51 #22309C
split-complementary
#9C226D #309C22 #229C8E
monochromatic
#380C27 #6A174A #9C226D #CE2D90 #DC5DAB

Accessibility & contrast

On white

7.33
#9C226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C226D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C226D#FFFFFF#000000##FFFFFF
##9C226D1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35496F
Deuteranopia (green-blind)
#595E6A
Tritanopia (blue-blind)
#A71C45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c226d;
/* rgb */ color: rgb(156, 34, 109);
/* oklch */ color: oklch(47.6% 0.172 348.1);
Tailwind
colors: {
  custom: {
    50: '#bd6b97',
    500: '#9c226d',
    950: '#000000',
  },
}
SCSS
$custom: #9c226d;
$custom-light: #bd6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9c226d",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 323.115,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.17235,
    "h": 348.1
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#9C226D
secondary
#5AC081
accent
#E78141
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C226D

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

Preview Lab → · Contrast checker → · Palette generator →

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