#9E226A#9E226A

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

Color values

HEX#9E226A
RGBrgb(158, 34, 106)
HSLhsl(325, 65%, 38%)
HSVhsv(325, 78%, 62%)
CMYKcmyk(0%, 78.5%, 32.9%, 38%)
CIE-LABlab(36.85, 55.43, -11.13)
CIE-LCHlch(36.85, 56.54, 348.65°)
OKLaboklab(47.84% 0.1697 -0.029)
OKLCHoklch(47.84% 0.172 350.3)
XYZxyz(17.2751, 9.4558, 14.5483)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E226A #229E56
analogous
#94229E #9E226A #9E222C
triadic
#9E226A #6A9E22 #226A9E
tetradic
#9E226A #9E9422 #229E56 #222C9E
square
#9E226A #9E9422 #229E56 #222C9E
split-complementary
#9E226A #2C9E22 #229E94
monochromatic
#390C26 #6C1748 #9E226A #D02D8C #DC5EA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E226A#FFFFFF#000000##FFFFFF
##9E226A1.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)
#38496C
Deuteranopia (green-blind)
#5C5F67
Tritanopia (blue-blind)
#AA1843
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e226a;
/* rgb */ color: rgb(158, 34, 106);
/* oklch */ color: oklch(47.8% 0.172 350.3);
Tailwind
colors: {
  custom: {
    50: '#bf6b94',
    500: '#9e226a',
    950: '#000000',
  },
}
SCSS
$custom: #9e226a;
$custom-light: #bf6b94;
$custom-dark: #000000;
JSON
{
  "hex": "#9e226a",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 325.161,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47839,
    "c": 0.17218,
    "h": 350.3
  },
  "luminance": 0.09454
}

Semantic roles & 50–950 ramp

primary
#9E226A
secondary
#5BC186
accent
#E88640
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E226A

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

Preview Lab → · Contrast checker → · Palette generator →

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