#9E2658#9E2658

#9E2658 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.160 H 0.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9E2658
RGBrgb(158, 38, 88)
HSLhsl(335, 61%, 38%)
HSVhsv(335, 76%, 62%)
CMYKcmyk(0%, 75.9%, 44.3%, 38%)
CIE-LABlab(36.67, 52.21, 0.08)
CIE-LCHlch(36.67, 52.21, 0.09°)
OKLaboklab(47.51% 0.1602 0.0008)
OKLCHoklch(47.51% 0.16 0.3)
XYZxyz(16.5564, 9.3621, 10.1658)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2658 #269E6C
analogous
#9E2694 #9E2658 #9E3026
triadic
#9E2658 #589E26 #26589E
tetradic
#9E2658 #949E26 #269E6C #30269E
square
#9E2658 #949E26 #269E6C #30269E
split-complementary
#9E2658 #269E30 #26949E
monochromatic
#3B0E21 #6D1A3D #9E2658 #CE3374 #DA6595

Accessibility & contrast

On white

7.31
#9E2658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E2658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2658
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2658#FFFFFF#000000##FFFFFF
##9E26581.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2658;
/* rgb */ color: rgb(158, 38, 88);
/* oklch */ color: oklch(47.5% 0.160 0.3);
Tailwind
colors: {
  custom: {
    50: '#c06c87',
    500: '#9e2658',
    950: '#000000',
  },
}
SCSS
$custom: #9e2658;
$custom-light: #c06c87;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2658",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 335,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47505,
    "c": 0.16024,
    "h": 0.3
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#9E2658
secondary
#60C098
accent
#E4A143
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E2658

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

Preview Lab → · Contrast checker → · Palette generator →

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