#9E2257#9E2257

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

Color values

HEX#9E2257
RGBrgb(158, 34, 87)
HSLhsl(334, 65%, 38%)
HSVhsv(334, 78%, 62%)
CMYKcmyk(0%, 78.5%, 44.9%, 38%)
CIE-LABlab(36.18, 53.40, 0.01)
CIE-LCHlch(36.18, 53.40, 0.01°)
OKLaboklab(47.14% 0.164 0.0006)
OKLCHoklch(47.14% 0.164 0.2)
XYZxyz(16.3942, 9.1035, 9.9088)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2257 #229E69
analogous
#9E2295 #9E2257 #9E2B22
triadic
#9E2257 #579E22 #22579E
tetradic
#9E2257 #959E22 #229E69 #2B229E
square
#9E2257 #959E22 #229E69 #2B229E
split-complementary
#9E2257 #229E2B #22959E
monochromatic
#390C20 #6C173B #9E2257 #D02D73 #DC5E94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2257#FFFFFF#000000##FFFFFF
##9E22571.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)
#3F4658
Deuteranopia (green-blind)
#605E54
Tritanopia (blue-blind)
#AC073A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2257;
/* rgb */ color: rgb(158, 34, 87);
/* oklch */ color: oklch(47.1% 0.164 0.2);
Tailwind
colors: {
  custom: {
    50: '#c06a86',
    500: '#9e2257',
    950: '#000000',
  },
}
SCSS
$custom: #9e2257;
$custom-light: #c06a86;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2257",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 334.355,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47136,
    "c": 0.16404,
    "h": 0.2
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

primary
#9E2257
secondary
#5BC195
accent
#E8A040
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E2257

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

Preview Lab → · Contrast checker → · Palette generator →

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