#9C226E#9C226E

#9C226E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.173 H 347.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9C226E
RGBrgb(156, 34, 110)
HSLhsl(323, 64%, 37%)
HSVhsv(323, 78%, 61%)
CMYKcmyk(0%, 78.2%, 29.5%, 38.8%)
CIE-LABlab(36.63, 55.40, -14.03)
CIE-LCHlch(36.63, 57.14, 345.79°)
OKLaboklab(47.66% 0.1689 -0.037)
OKLCHoklch(47.66% 0.173 347.6)
XYZxyz(17.0977, 9.3397, 15.6512)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C226E #229C50
analogous
#8D229C #9C226E #9C2231
triadic
#9C226E #6E9C22 #226E9C
tetradic
#9C226E #9C8D22 #229C50 #22319C
square
#9C226E #9C8D22 #229C50 #22319C
split-complementary
#9C226E #319C22 #229C8D
monochromatic
#380C27 #6A174B #9C226E #CE2D91 #DC5DAC

Accessibility & contrast

On white

7.32
#9C226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9C226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C226E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C226E#FFFFFF#000000##FFFFFF
##9C226E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354970
Deuteranopia (green-blind)
#595E6B
Tritanopia (blue-blind)
#A71C45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c226e;
/* rgb */ color: rgb(156, 34, 110);
/* oklch */ color: oklch(47.7% 0.173 347.6);
Tailwind
colors: {
  custom: {
    50: '#bd6b97',
    500: '#9c226e',
    950: '#000000',
  },
}
SCSS
$custom: #9c226e;
$custom-light: #bd6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9c226e",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 322.623,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47664,
    "c": 0.17289,
    "h": 347.6
  },
  "luminance": 0.09338
}

Semantic roles & 50–950 ramp

primary
#9C226E
secondary
#5AC080
accent
#E77F41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C226E

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

Preview Lab → · Contrast checker → · Palette generator →

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