#9D226E#9D226E

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

Color values

HEX#9D226E
RGBrgb(157, 34, 110)
HSLhsl(323, 64%, 37%)
HSVhsv(323, 78%, 62%)
CMYKcmyk(0%, 78.3%, 29.9%, 38.4%)
CIE-LABlab(36.82, 55.65, -13.72)
CIE-LCHlch(36.82, 57.32, 346.15°)
OKLaboklab(47.84% 0.1698 -0.0361)
OKLCHoklch(47.84% 0.174 348)
XYZxyz(17.2920, 9.4399, 15.6603)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D226E #229D51
analogous
#8F229D #9D226E #9D2230
triadic
#9D226E #6E9D22 #226E9D
tetradic
#9D226E #9D8F22 #229D51 #22309D
square
#9D226E #9D8F22 #229D51 #22309D
split-complementary
#9D226E #309D22 #229D8F
monochromatic
#380C28 #6B174B #9D226E #CF2D91 #DC5DAC

Accessibility & contrast

On white

7.27
#9D226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D226E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D226E#FFFFFF#000000##FFFFFF
##9D226E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354970
Deuteranopia (green-blind)
#5A5E6B
Tritanopia (blue-blind)
#A91C45
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d226e;
/* rgb */ color: rgb(157, 34, 110);
/* oklch */ color: oklch(47.8% 0.174 348.0);
Tailwind
colors: {
  custom: {
    50: '#be6b97',
    500: '#9d226e',
    950: '#000000',
  },
}
SCSS
$custom: #9d226e;
$custom-light: #be6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9d226e",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 322.927,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47835,
    "c": 0.17359,
    "h": 348
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

primary
#9D226E
secondary
#5AC181
accent
#E78040
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D226E

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

Preview Lab → · Contrast checker → · Palette generator →

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