#9E2A58#9E2A58

#9E2A58 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.156 H 1.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9E2A58
RGBrgb(158, 42, 88)
HSLhsl(336, 58%, 39%)
HSVhsv(336, 73%, 62%)
CMYKcmyk(0%, 73.4%, 44.3%, 38%)
CIE-LABlab(37.17, 50.80, 0.81)
CIE-LCHlch(37.17, 50.81, 0.92°)
OKLaboklab(47.87% 0.1558 0.0027)
OKLCHoklch(47.87% 0.156 1)
XYZxyz(16.6912, 9.6317, 10.2108)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A58 #2A9E70
analogous
#9E2A92 #9E2A58 #9E362A
triadic
#9E2A58 #589E2A #2A589E
tetradic
#9E2A58 #929E2A #2A9E70 #362A9E
square
#9E2A58 #929E2A #2A9E70 #362A9E
split-complementary
#9E2A58 #2A9E36 #2A929E
monochromatic
#3D1022 #6E1D3D #9E2A58 #CB3A74 #D86B96

Accessibility & contrast

On white

7.18
#9E2A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E2A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A58
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A58#FFFFFF#000000##FFFFFF
##9E2A581.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434959
Deuteranopia (green-blind)
#626055
Tritanopia (blue-blind)
#AC183D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2a58;
/* rgb */ color: rgb(158, 42, 88);
/* oklch */ color: oklch(47.9% 0.156 1.0);
Tailwind
colors: {
  custom: {
    50: '#c06d87',
    500: '#9e2a58',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a58;
$custom-light: #c06d87;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a58",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 336.207,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.15577,
    "h": 1
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#9E2A58
secondary
#66BE9B
accent
#E1A447
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2A58

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

Preview Lab → · Contrast checker → · Palette generator →

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