#9E226D#9E226D

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

Color values

HEX#9E226D
RGBrgb(158, 34, 109)
HSLhsl(324, 65%, 38%)
HSVhsv(324, 78%, 62%)
CMYKcmyk(0%, 78.5%, 31%, 38%)
CIE-LABlab(36.97, 55.79, -12.85)
CIE-LCHlch(36.97, 57.25, 347.03°)
OKLaboklab(47.96% 0.1705 -0.0337)
OKLCHoklch(47.96% 0.174 348.8)
XYZxyz(17.4338, 9.5193, 15.3844)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E226D #229E53
analogous
#91229E #9E226D #9E222F
triadic
#9E226D #6D9E22 #226D9E
tetradic
#9E226D #9E9122 #229E53 #222F9E
square
#9E226D #9E9122 #229E53 #222F9E
split-complementary
#9E226D #2F9E22 #229E91
monochromatic
#390C28 #6C174A #9E226D #D02D90 #DC5EAA

Accessibility & contrast

On white

7.23
#9E226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9E226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E226D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E226D#FFFFFF#000000##FFFFFF
##9E226D1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496F
Deuteranopia (green-blind)
#5B5F6A
Tritanopia (blue-blind)
#AA1B45
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e226d;
/* rgb */ color: rgb(158, 34, 109);
/* oklch */ color: oklch(48.0% 0.174 348.8);
Tailwind
colors: {
  custom: {
    50: '#bf6b97',
    500: '#9e226d',
    950: '#000000',
  },
}
SCSS
$custom: #9e226d;
$custom-light: #bf6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9e226d",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 323.71,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47964,
    "c": 0.17375,
    "h": 348.8
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#9E226D
secondary
#5BC183
accent
#E88240
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E226D

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

Preview Lab → · Contrast checker → · Palette generator →

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