#9E2758#9E2758

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

Color values

HEX#9E2758
RGBrgb(158, 39, 88)
HSLhsl(335, 60%, 39%)
HSVhsv(335, 75%, 62%)
CMYKcmyk(0%, 75.3%, 44.3%, 38%)
CIE-LABlab(36.79, 51.86, 0.26)
CIE-LCHlch(36.79, 51.87, 0.29°)
OKLaboklab(47.6% 0.1592 0.0013)
OKLCHoklch(47.6% 0.159 0.5)
XYZxyz(16.5888, 9.4269, 10.1766)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2758 #279E6D
analogous
#9E2793 #9E2758 #9E3127
triadic
#9E2758 #589E27 #27589E
tetradic
#9E2758 #939E27 #279E6D #31279E
square
#9E2758 #939E27 #279E6D #31279E
split-complementary
#9E2758 #279E31 #27939E
monochromatic
#3C0F21 #6D1B3D #9E2758 #CD3574 #D96696

Accessibility & contrast

On white

7.28
#9E2758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2758
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2758#FFFFFF#000000##FFFFFF
##9E27581.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#615F55
Tritanopia (blue-blind)
#AC133C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2758;
/* rgb */ color: rgb(158, 39, 88);
/* oklch */ color: oklch(47.6% 0.159 0.5);
Tailwind
colors: {
  custom: {
    50: '#c06c87',
    500: '#9e2758',
    950: '#000000',
  },
}
SCSS
$custom: #9e2758;
$custom-light: #c06c87;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2758",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 335.294,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47595,
    "c": 0.15915,
    "h": 0.5
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#9E2758
secondary
#62BF99
accent
#E4A244
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2758

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

Preview Lab → · Contrast checker → · Palette generator →

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