#9E2256#9E2256

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

Color values

HEX#9E2256
RGBrgb(158, 34, 86)
HSLhsl(335, 65%, 38%)
HSVhsv(335, 78%, 62%)
CMYKcmyk(0%, 78.5%, 45.6%, 38%)
CIE-LABlab(36.15, 53.30, 0.61)
CIE-LCHlch(36.15, 53.31, 0.65°)
OKLaboklab(47.1% 0.1637 0.0022)
OKLCHoklch(47.1% 0.164 0.8)
XYZxyz(16.3536, 9.0872, 9.6951)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2256 #229E6A
analogous
#9E2294 #9E2256 #9E2C22
triadic
#9E2256 #569E22 #22569E
tetradic
#9E2256 #949E22 #229E6A #2C229E
square
#9E2256 #949E22 #229E6A #2C229E
split-complementary
#9E2256 #229E2C #22949E
monochromatic
#390C1F #6C173B #9E2256 #D02D71 #DC5E93

Accessibility & contrast

On white

7.45
#9E2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2256
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2256#FFFFFF#000000##FFFFFF
##9E22561.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4657
Deuteranopia (green-blind)
#605E53
Tritanopia (blue-blind)
#AC0639
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2256;
/* rgb */ color: rgb(158, 34, 86);
/* oklch */ color: oklch(47.1% 0.164 0.8);
Tailwind
colors: {
  custom: {
    50: '#c06a85',
    500: '#9e2256',
    950: '#000000',
  },
}
SCSS
$custom: #9e2256;
$custom-light: #c06a85;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2256",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 334.839,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.1637,
    "h": 0.8
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#9E2256
secondary
#5BC196
accent
#E8A140
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E2256

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

Preview Lab → · Contrast checker → · Palette generator →

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