#9E2288#9E2288

#9E2288 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.191 H 336.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9E2288
RGBrgb(158, 34, 136)
HSLhsl(311, 65%, 38%)
HSVhsv(311, 78%, 62%)
CMYKcmyk(0%, 78.5%, 13.9%, 38%)
CIE-LABlab(38.19, 59.39, -27.80)
CIE-LCHlch(38.19, 65.58, 334.91°)
OKLaboklab(49.24% 0.1748 -0.0758)
OKLCHoklch(49.24% 0.191 336.6)
XYZxyz(19.1169, 10.1925, 24.2483)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2288 #229E38
analogous
#76229E #9E2288 #9E224A
triadic
#9E2288 #889E22 #22889E
tetradic
#9E2288 #9E7622 #229E38 #224A9E
square
#9E2288 #9E7622 #229E38 #224A9E
split-complementary
#9E2288 #4A9E22 #229E76
monochromatic
#390C31 #6C175D #9E2288 #D02DB3 #DC5EC6

Accessibility & contrast

On white

6.91
#9E2288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E2288 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2288
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2288#FFFFFF#000000##FFFFFF
##9E22881.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8B
Deuteranopia (green-blind)
#516085
Tritanopia (blue-blind)
#A72B53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2288;
/* rgb */ color: rgb(158, 34, 136);
/* oklch */ color: oklch(49.2% 0.191 336.6);
Tailwind
colors: {
  custom: {
    50: '#be6cab',
    500: '#9e2288',
    950: '#000000',
  },
}
SCSS
$custom: #9e2288;
$custom-light: #be6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2288",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 310.645,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49244,
    "c": 0.19051,
    "h": 336.6
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#9E2288
secondary
#5BC16D
accent
#E85E40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E2288

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

Preview Lab → · Contrast checker → · Palette generator →

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