#9E226F#9E226F

#9E226F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.175 H 347.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9E226F
RGBrgb(158, 34, 111)
HSLhsl(323, 65%, 38%)
HSVhsv(323, 78%, 62%)
CMYKcmyk(0%, 78.5%, 29.7%, 38%)
CIE-LABlab(37.05, 56.03, -13.99)
CIE-LCHlch(37.05, 57.75, 345.98°)
OKLaboklab(48.05% 0.1709 -0.0369)
OKLCHoklch(48.05% 0.175 347.8)
XYZxyz(17.5427, 9.5629, 15.9578)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E226F #229E51
analogous
#8F229E #9E226F #9E2231
triadic
#9E226F #6F9E22 #226F9E
tetradic
#9E226F #9E8F22 #229E51 #22319E
square
#9E226F #9E8F22 #229E51 #22319E
split-complementary
#9E226F #319E22 #229E8F
monochromatic
#390C28 #6C174C #9E226F #D02D92 #DC5EAC

Accessibility & contrast

On white

7.21
#9E226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E226F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E226F#FFFFFF#000000##FFFFFF
##9E226F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364971
Deuteranopia (green-blind)
#5A5F6C
Tritanopia (blue-blind)
#AA1C46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e226f;
/* rgb */ color: rgb(158, 34, 111);
/* oklch */ color: oklch(48.0% 0.175 347.8);
Tailwind
colors: {
  custom: {
    50: '#bf6b98',
    500: '#9e226f',
    950: '#000000',
  },
}
SCSS
$custom: #9e226f;
$custom-light: #bf6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#9e226f",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 322.742,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48049,
    "c": 0.17484,
    "h": 347.8
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#9E226F
secondary
#5BC182
accent
#E88040
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E226F

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

Preview Lab → · Contrast checker → · Palette generator →

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