#9E2858#9E2858

#9E2858 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.158 H 0.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9E2858
RGBrgb(158, 40, 88)
HSLhsl(336, 60%, 39%)
HSVhsv(336, 75%, 62%)
CMYKcmyk(0%, 74.7%, 44.3%, 38%)
CIE-LABlab(36.92, 51.52, 0.44)
CIE-LCHlch(36.92, 51.52, 0.49°)
OKLaboklab(47.69% 0.158 0.0017)
OKLCHoklch(47.69% 0.158 0.6)
XYZxyz(16.6221, 9.4934, 10.1877)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2858 #289E6E
analogous
#9E2893 #9E2858 #9E3328
triadic
#9E2858 #589E28 #28589E
tetradic
#9E2858 #939E28 #289E6E #33289E
square
#9E2858 #939E28 #289E6E #33289E
split-complementary
#9E2858 #289E33 #28939E
monochromatic
#3C0F22 #6D1C3D #9E2858 #CC3774 #D96896

Accessibility & contrast

On white

7.25
#9E2858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9E2858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2858
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2858#FFFFFF#000000##FFFFFF
##9E28581.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424859
Deuteranopia (green-blind)
#625F55
Tritanopia (blue-blind)
#AC153D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2858;
/* rgb */ color: rgb(158, 40, 88);
/* oklch */ color: oklch(47.7% 0.158 0.6);
Tailwind
colors: {
  custom: {
    50: '#c06d87',
    500: '#9e2858',
    950: '#000000',
  },
}
SCSS
$custom: #9e2858;
$custom-light: #c06d87;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2858",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 335.593,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47686,
    "c": 0.15804,
    "h": 0.6
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#9E2858
secondary
#63BF99
accent
#E3A345
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2858

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

Preview Lab → · Contrast checker → · Palette generator →

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