#9E2572#9E2572

#9E2572 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.173 H 346.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9E2572
RGBrgb(158, 37, 114)
HSLhsl(322, 62%, 38%)
HSVhsv(322, 77%, 62%)
CMYKcmyk(0%, 76.6%, 27.8%, 38%)
CIE-LABlab(37.50, 55.47, -15.19)
CIE-LCHlch(37.50, 57.51, 344.69°)
OKLaboklab(48.42% 0.1687 -0.0402)
OKLCHoklch(48.42% 0.173 346.6)
XYZxyz(17.8002, 9.8091, 16.8723)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2572 #259E51
analogous
#8D259E #9E2572 #9E2536
triadic
#9E2572 #729E25 #25729E
tetradic
#9E2572 #9E8D25 #259E51 #25369E
square
#9E2572 #9E8D25 #259E51 #25369E
split-complementary
#9E2572 #369E25 #259E8D
monochromatic
#3B0E2A #6C194E #9E2572 #CF3196 #DA63AF

Accessibility & contrast

On white

7.09
#9E2572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9E2572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2572
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2572#FFFFFF#000000##FFFFFF
##9E25721.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B74
Deuteranopia (green-blind)
#5A606F
Tritanopia (blue-blind)
#A92148
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2572;
/* rgb */ color: rgb(158, 37, 114);
/* oklch */ color: oklch(48.4% 0.173 346.6);
Tailwind
colors: {
  custom: {
    50: '#bf6c9a',
    500: '#9e2572',
    950: '#000000',
  },
}
SCSS
$custom: #9e2572;
$custom-light: #bf6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2572",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 321.818,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48417,
    "c": 0.17338,
    "h": 346.6
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#9E2572
secondary
#5FC082
accent
#E57E43
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9E2572

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

Preview Lab → · Contrast checker → · Palette generator →

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