#9D226D#9D226D

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

Color values

HEX#9D226D
RGBrgb(157, 34, 109)
HSLhsl(323, 64%, 37%)
HSVhsv(323, 78%, 62%)
CMYKcmyk(0%, 78.3%, 30.6%, 38.4%)
CIE-LABlab(36.78, 55.53, -13.15)
CIE-LCHlch(36.78, 57.07, 346.68°)
OKLaboklab(47.79% 0.1696 -0.0346)
OKLCHoklch(47.79% 0.173 348.5)
XYZxyz(17.2379, 9.4183, 15.3752)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D226D #229D52
analogous
#90229D #9D226D #9D222F
triadic
#9D226D #6D9D22 #226D9D
tetradic
#9D226D #9D9022 #229D52 #222F9D
square
#9D226D #9D9022 #229D52 #222F9D
split-complementary
#9D226D #2F9D22 #229D90
monochromatic
#380C27 #6B174A #9D226D #CF2D90 #DC5DAB

Accessibility & contrast

On white

7.28
#9D226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D226D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D226D#FFFFFF#000000##FFFFFF
##9D226D1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36496F
Deuteranopia (green-blind)
#5A5E6A
Tritanopia (blue-blind)
#A91B45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d226d;
/* rgb */ color: rgb(157, 34, 109);
/* oklch */ color: oklch(47.8% 0.173 348.5);
Tailwind
colors: {
  custom: {
    50: '#be6b97',
    500: '#9d226d',
    950: '#000000',
  },
}
SCSS
$custom: #9d226d;
$custom-light: #be6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9d226d",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 323.415,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47792,
    "c": 0.17305,
    "h": 348.5
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#9D226D
secondary
#5AC182
accent
#E78240
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D226D

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

Preview Lab → · Contrast checker → · Palette generator →

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