#9E2258#9E2258

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

Color values

HEX#9E2258
RGBrgb(158, 34, 88)
HSLhsl(334, 65%, 38%)
HSVhsv(334, 78%, 62%)
CMYKcmyk(0%, 78.5%, 44.3%, 38%)
CIE-LABlab(36.21, 53.50, -0.59)
CIE-LCHlch(36.21, 53.50, 359.37°)
OKLaboklab(47.17% 0.1644 -0.0009)
OKLCHoklch(47.17% 0.164 359.7)
XYZxyz(16.4353, 9.1199, 10.1255)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2258 #229E68
analogous
#9E2296 #9E2258 #9E2A22
triadic
#9E2258 #589E22 #22589E
tetradic
#9E2258 #969E22 #229E68 #2A229E
square
#9E2258 #969E22 #229E68 #2A229E
split-complementary
#9E2258 #229E2A #22969E
monochromatic
#390C20 #6C173C #9E2258 #D02D74 #DC5E95

Accessibility & contrast

On white

7.44
#9E2258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9E2258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2258
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2258#FFFFFF#000000##FFFFFF
##9E22581.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4659
Deuteranopia (green-blind)
#605E55
Tritanopia (blue-blind)
#AC083A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2258;
/* rgb */ color: rgb(158, 34, 88);
/* oklch */ color: oklch(47.2% 0.164 359.7);
Tailwind
colors: {
  custom: {
    50: '#c06a87',
    500: '#9e2258',
    950: '#000000',
  },
}
SCSS
$custom: #9e2258;
$custom-light: #c06a87;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2258",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 333.871,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47169,
    "c": 0.16438,
    "h": 359.7
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2258

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

Preview Lab → · Contrast checker → · Palette generator →

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