#9E2855#9E2855

#9E2855 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.157 H 2.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9E2855
RGBrgb(158, 40, 85)
HSLhsl(337, 60%, 39%)
HSVhsv(337, 75%, 62%)
CMYKcmyk(0%, 74.7%, 46.2%, 38%)
CIE-LABlab(36.83, 51.22, 2.23)
CIE-LCHlch(36.83, 51.27, 2.49°)
OKLaboklab(47.59% 0.157 0.0063)
OKLCHoklch(47.59% 0.157 2.3)
XYZxyz(16.5003, 9.4447, 9.5467)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2855 #289E71
analogous
#9E2890 #9E2855 #9E3628
triadic
#9E2855 #559E28 #28559E
tetradic
#9E2855 #909E28 #289E71 #36289E
square
#9E2855 #909E28 #289E71 #36289E
split-complementary
#9E2855 #289E36 #28909E
monochromatic
#3C0F20 #6D1C3B #9E2855 #CC3770 #D96893

Accessibility & contrast

On white

7.27
#9E2855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9E2855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2855
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2855#FFFFFF#000000##FFFFFF
##9E28551.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434856
Deuteranopia (green-blind)
#625F52
Tritanopia (blue-blind)
#AC133B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2855;
/* rgb */ color: rgb(158, 40, 85);
/* oklch */ color: oklch(47.6% 0.157 2.3);
Tailwind
colors: {
  custom: {
    50: '#c06d84',
    500: '#9e2855',
    950: '#000000',
  },
}
SCSS
$custom: #9e2855;
$custom-light: #c06d84;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2855",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 337.119,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47589,
    "c": 0.1571,
    "h": 2.3
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#9E2855
secondary
#63BF9C
accent
#E3A745
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9E2855

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

Preview Lab → · Contrast checker → · Palette generator →

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