#9E2566#9E2566

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

Color values

HEX#9E2566
RGBrgb(158, 37, 102)
HSLhsl(328, 62%, 38%)
HSVhsv(328, 77%, 62%)
CMYKcmyk(0%, 76.6%, 35.4%, 38%)
CIE-LABlab(37.03, 54.03, -8.32)
CIE-LCHlch(37.03, 54.67, 351.25°)
OKLaboklab(47.92% 0.1657 -0.0214)
OKLCHoklch(47.92% 0.167 352.6)
XYZxyz(17.1614, 9.5536, 13.5081)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2566 #259E5D
analogous
#99259E #9E2566 #9E2529
triadic
#9E2566 #669E25 #25669E
tetradic
#9E2566 #9E9925 #259E5D #25299E
square
#9E2566 #9E9925 #259E5D #25299E
split-complementary
#9E2566 #299E25 #259E99
monochromatic
#3B0E26 #6C1946 #9E2566 #CF3186 #DA63A3

Accessibility & contrast

On white

7.22
#9E2566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E2566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2566
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2566#FFFFFF#000000##FFFFFF
##9E25661.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4968
Deuteranopia (green-blind)
#5E5F63
Tritanopia (blue-blind)
#AA1942
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2566;
/* rgb */ color: rgb(158, 37, 102);
/* oklch */ color: oklch(47.9% 0.167 352.6);
Tailwind
colors: {
  custom: {
    50: '#bf6c91',
    500: '#9e2566',
    950: '#000000',
  },
}
SCSS
$custom: #9e2566;
$custom-light: #bf6c91;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2566",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 102
  },
  "hsl": {
    "h": 327.769,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47922,
    "c": 0.16706,
    "h": 352.6
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#9E2566
secondary
#5FC08C
accent
#E58E43
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E2566

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

Preview Lab → · Contrast checker → · Palette generator →

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