#9E2571#9E2571

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

Color values

HEX#9E2571
RGBrgb(158, 37, 113)
HSLhsl(322, 62%, 38%)
HSVhsv(322, 77%, 62%)
CMYKcmyk(0%, 76.6%, 28.5%, 38%)
CIE-LABlab(37.46, 55.35, -14.62)
CIE-LCHlch(37.46, 57.24, 345.20°)
OKLaboklab(48.37% 0.1684 -0.0386)
OKLCHoklch(48.37% 0.173 347.1)
XYZxyz(17.7436, 9.7865, 16.5741)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2571 #259E52
analogous
#8E259E #9E2571 #9E2534
triadic
#9E2571 #719E25 #25719E
tetradic
#9E2571 #9E8E25 #259E52 #25349E
square
#9E2571 #9E8E25 #259E52 #25349E
split-complementary
#9E2571 #349E25 #259E8E
monochromatic
#3B0E2A #6C194E #9E2571 #CF3194 #DA63AE

Accessibility & contrast

On white

7.10
#9E2571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2571
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2571#FFFFFF#000000##FFFFFF
##9E25711.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#A92048
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2571;
/* rgb */ color: rgb(158, 37, 113);
/* oklch */ color: oklch(48.4% 0.173 347.1);
Tailwind
colors: {
  custom: {
    50: '#bf6c9a',
    500: '#9e2571',
    950: '#000000',
  },
}
SCSS
$custom: #9e2571;
$custom-light: #bf6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2571",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 322.314,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48374,
    "c": 0.17281,
    "h": 347.1
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#9E2571
secondary
#5FC083
accent
#E57F43
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9E2571

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

Preview Lab → · Contrast checker → · Palette generator →

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