#9D226F#9D226F

#9D226F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.174 H 347.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9D226F
RGBrgb(157, 34, 111)
HSLhsl(322, 64%, 37%)
HSVhsv(322, 78%, 62%)
CMYKcmyk(0%, 78.3%, 29.3%, 38.4%)
CIE-LABlab(36.86, 55.78, -14.29)
CIE-LCHlch(36.86, 57.58, 345.63°)
OKLaboklab(47.88% 0.17 -0.0377)
OKLCHoklch(47.88% 0.174 347.5)
XYZxyz(17.3468, 9.4618, 15.9486)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D226F #229D50
analogous
#8E229D #9D226F #9D2232
triadic
#9D226F #6F9D22 #226F9D
tetradic
#9D226F #9D8E22 #229D50 #22329D
square
#9D226F #9D8E22 #229D50 #22329D
split-complementary
#9D226F #329D22 #229D8E
monochromatic
#380C28 #6B174B #9D226F #CF2D93 #DC5DAD

Accessibility & contrast

On white

7.26
#9D226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D226F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D226F#FFFFFF#000000##FFFFFF
##9D226F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#5A5E6C
Tritanopia (blue-blind)
#A81C46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d226f;
/* rgb */ color: rgb(157, 34, 111);
/* oklch */ color: oklch(47.9% 0.174 347.5);
Tailwind
colors: {
  custom: {
    50: '#be6b98',
    500: '#9d226f',
    950: '#000000',
  },
}
SCSS
$custom: #9d226f;
$custom-light: #be6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#9d226f",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 322.439,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47878,
    "c": 0.17415,
    "h": 347.5
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#9D226F
secondary
#5AC180
accent
#E77F40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D226F

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

Preview Lab → · Contrast checker → · Palette generator →

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