#9E226E#9E226E

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

Color values

HEX#9E226E
RGBrgb(158, 34, 110)
HSLhsl(323, 65%, 38%)
HSVhsv(323, 78%, 62%)
CMYKcmyk(0%, 78.5%, 30.4%, 38%)
CIE-LABlab(37.01, 55.91, -13.42)
CIE-LCHlch(37.01, 57.50, 346.50°)
OKLaboklab(48.01% 0.1707 -0.0353)
OKLCHoklch(48.01% 0.174 348.3)
XYZxyz(17.4880, 9.5410, 15.6695)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E226E #229E52
analogous
#90229E #9E226E #9E2230
triadic
#9E226E #6E9E22 #226E9E
tetradic
#9E226E #9E9022 #229E52 #22309E
square
#9E226E #9E9022 #229E52 #22309E
split-complementary
#9E226E #309E22 #229E90
monochromatic
#390C28 #6C174B #9E226E #D02D91 #DC5EAB

Accessibility & contrast

On white

7.22
#9E226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E226E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E226E#FFFFFF#000000##FFFFFF
##9E226E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364970
Deuteranopia (green-blind)
#5B5F6B
Tritanopia (blue-blind)
#AA1B45
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e226e;
/* rgb */ color: rgb(158, 34, 110);
/* oklch */ color: oklch(48.0% 0.174 348.3);
Tailwind
colors: {
  custom: {
    50: '#bf6b97',
    500: '#9e226e',
    950: '#000000',
  },
}
SCSS
$custom: #9e226e;
$custom-light: #bf6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9e226e",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 323.226,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48006,
    "c": 0.1743,
    "h": 348.3
  },
  "luminance": 0.09539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E226E

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

Preview Lab → · Contrast checker → · Palette generator →

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