#9E2579#9E2579

#9E2579 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.178 H 343.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9E2579
RGBrgb(158, 37, 121)
HSLhsl(318, 62%, 38%)
HSVhsv(318, 77%, 62%)
CMYKcmyk(0%, 76.6%, 23.4%, 38%)
CIE-LABlab(37.80, 56.38, -19.11)
CIE-LCHlch(37.80, 59.53, 341.28°)
OKLaboklab(48.73% 0.17 -0.0511)
OKLCHoklch(48.73% 0.178 343.3)
XYZxyz(18.2140, 9.9746, 19.0515)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2579 #259E4A
analogous
#86259E #9E2579 #9E253C
triadic
#9E2579 #799E25 #25799E
tetradic
#9E2579 #9E8625 #259E4A #253C9E
square
#9E2579 #9E8625 #259E4A #253C9E
split-complementary
#9E2579 #3C9E25 #259E86
monochromatic
#3B0E2D #6C1953 #9E2579 #CF319F #DA63B6

Accessibility & contrast

On white

7.01
#9E2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2579
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2579#FFFFFF#000000##FFFFFF
##9E25791.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A8254C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2579;
/* rgb */ color: rgb(158, 37, 121);
/* oklch */ color: oklch(48.7% 0.178 343.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ca0',
    500: '#9e2579',
    950: '#000000',
  },
}
SCSS
$custom: #9e2579;
$custom-light: #bf6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2579",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 318.347,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48732,
    "c": 0.17756,
    "h": 343.3
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

primary
#9E2579
secondary
#5FC07D
accent
#E57443
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9E2579

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

Preview Lab → · Contrast checker → · Palette generator →

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