#9D226C#9D226C

#9D226C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.173 H 349.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9D226C
RGBrgb(157, 34, 108)
HSLhsl(324, 64%, 37%)
HSVhsv(324, 78%, 62%)
CMYKcmyk(0%, 78.3%, 31.2%, 38.4%)
CIE-LABlab(36.74, 55.41, -12.58)
CIE-LCHlch(36.74, 56.82, 347.21°)
OKLaboklab(47.75% 0.1693 -0.033)
OKLCHoklch(47.75% 0.173 349)
XYZxyz(17.1844, 9.3969, 15.0933)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D226C #229D53
analogous
#90229D #9D226C #9D222F
triadic
#9D226C #6C9D22 #226C9D
tetradic
#9D226C #9D9022 #229D53 #222F9D
square
#9D226C #9D9022 #229D53 #222F9D
split-complementary
#9D226C #2F9D22 #229D90
monochromatic
#380C27 #6B1749 #9D226C #CF2D8F #DC5DAA

Accessibility & contrast

On white

7.29
#9D226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9D226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D226C
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D226C#FFFFFF#000000##FFFFFF
##9D226C1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36496E
Deuteranopia (green-blind)
#5B5E69
Tritanopia (blue-blind)
#A91A44
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d226c;
/* rgb */ color: rgb(157, 34, 108);
/* oklch */ color: oklch(47.8% 0.173 349.0);
Tailwind
colors: {
  custom: {
    50: '#be6b96',
    500: '#9d226c',
    950: '#000000',
  },
}
SCSS
$custom: #9d226c;
$custom-light: #be6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#9d226c",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 323.902,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4775,
    "c": 0.17251,
    "h": 349
  },
  "luminance": 0.09395
}

Semantic roles & 50–950 ramp

primary
#9D226C
secondary
#5AC183
accent
#E78340
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D226C

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

Preview Lab → · Contrast checker → · Palette generator →

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