#9D226A#9D226A

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

Color values

HEX#9D226A
RGBrgb(157, 34, 106)
HSLhsl(325, 64%, 37%)
HSVhsv(325, 78%, 62%)
CMYKcmyk(0%, 78.3%, 32.5%, 38.4%)
CIE-LABlab(36.66, 55.17, -11.43)
CIE-LCHlch(36.66, 56.34, 348.29°)
OKLaboklab(47.67% 0.1688 -0.0298)
OKLCHoklch(47.67% 0.171 350)
XYZxyz(17.0791, 9.3548, 14.5391)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D226A #229D55
analogous
#93229D #9D226A #9D222D
triadic
#9D226A #6A9D22 #226A9D
tetradic
#9D226A #9D9322 #229D55 #222D9D
square
#9D226A #9D9322 #229D55 #222D9D
split-complementary
#9D226A #2D9D22 #229D93
monochromatic
#380C26 #6B1748 #9D226A #CF2D8C #DC5DA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D226A#FFFFFF#000000##FFFFFF
##9D226A1.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)
#37486C
Deuteranopia (green-blind)
#5B5E67
Tritanopia (blue-blind)
#A91943
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d226a;
/* rgb */ color: rgb(157, 34, 106);
/* oklch */ color: oklch(47.7% 0.171 350.0);
Tailwind
colors: {
  custom: {
    50: '#be6b94',
    500: '#9d226a',
    950: '#000000',
  },
}
SCSS
$custom: #9d226a;
$custom-light: #be6b94;
$custom-dark: #000000;
JSON
{
  "hex": "#9d226a",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 324.878,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47667,
    "c": 0.17146,
    "h": 350
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#9D226A
secondary
#5AC185
accent
#E78640
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D226A

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

Preview Lab → · Contrast checker → · Palette generator →

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