#9E2259#9E2259

#9E2259 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.165 H 359.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9E2259
RGBrgb(158, 34, 89)
HSLhsl(333, 65%, 38%)
HSVhsv(333, 78%, 62%)
CMYKcmyk(0%, 78.5%, 43.7%, 38%)
CIE-LABlab(36.25, 53.60, -1.18)
CIE-LCHlch(36.25, 53.61, 358.74°)
OKLaboklab(47.2% 0.1647 -0.0025)
OKLCHoklch(47.2% 0.165 359.1)
XYZxyz(16.4770, 9.1366, 10.3451)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2259 #229E67
analogous
#9E2297 #9E2259 #9E2922
triadic
#9E2259 #599E22 #22599E
tetradic
#9E2259 #979E22 #229E67 #29229E
square
#9E2259 #979E22 #229E67 #29229E
split-complementary
#9E2259 #229E29 #22979E
monochromatic
#390C20 #6C173D #9E2259 #D02D75 #DC5E96

Accessibility & contrast

On white

7.43
#9E2259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9E2259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2259
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2259#FFFFFF#000000##FFFFFF
##9E22591.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E465A
Deuteranopia (green-blind)
#605E56
Tritanopia (blue-blind)
#AC093B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2259;
/* rgb */ color: rgb(158, 34, 89);
/* oklch */ color: oklch(47.2% 0.165 359.1);
Tailwind
colors: {
  custom: {
    50: '#c06a87',
    500: '#9e2259',
    950: '#000000',
  },
}
SCSS
$custom: #9e2259;
$custom-light: #c06a87;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2259",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 333.387,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.16474,
    "h": 359.1
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#9E2259
secondary
#5BC194
accent
#E89D40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E2259

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

Preview Lab → · Contrast checker → · Palette generator →

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