#9D226B#9D226B

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

Color values

HEX#9D226B
RGBrgb(157, 34, 107)
HSLhsl(324, 64%, 37%)
HSVhsv(324, 78%, 62%)
CMYKcmyk(0%, 78.3%, 31.8%, 38.4%)
CIE-LABlab(36.70, 55.29, -12.01)
CIE-LCHlch(36.70, 56.58, 347.75°)
OKLaboklab(47.71% 0.1691 -0.0314)
OKLCHoklch(47.71% 0.172 349.5)
XYZxyz(17.1314, 9.3757, 14.8146)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D226B #229D54
analogous
#91229D #9D226B #9D222E
triadic
#9D226B #6B9D22 #226B9D
tetradic
#9D226B #9D9122 #229D54 #222E9D
square
#9D226B #9D9122 #229D54 #222E9D
split-complementary
#9D226B #2E9D22 #229D91
monochromatic
#380C26 #6B1749 #9D226B #CF2D8D #DC5DA9

Accessibility & contrast

On white

7.30
#9D226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D226B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D226B#FFFFFF#000000##FFFFFF
##9D226B1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496D
Deuteranopia (green-blind)
#5B5E68
Tritanopia (blue-blind)
#A91A44
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d226b;
/* rgb */ color: rgb(157, 34, 107);
/* oklch */ color: oklch(47.7% 0.172 349.5);
Tailwind
colors: {
  custom: {
    50: '#be6b95',
    500: '#9d226b',
    950: '#000000',
  },
}
SCSS
$custom: #9d226b;
$custom-light: #be6b95;
$custom-dark: #000000;
JSON
{
  "hex": "#9d226b",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 324.39,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.17198,
    "h": 349.5
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#9D226B
secondary
#5AC184
accent
#E78440
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D226B

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

Preview Lab → · Contrast checker → · Palette generator →

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