#9E2662#9E2662

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

Color values

HEX#9E2662
RGBrgb(158, 38, 98)
HSLhsl(330, 61%, 38%)
HSVhsv(330, 76%, 62%)
CMYKcmyk(0%, 75.9%, 38%, 38%)
CIE-LABlab(37.00, 53.25, -5.82)
CIE-LCHlch(37.00, 53.57, 353.77°)
OKLaboklab(47.86% 0.1635 -0.0147)
OKLCHoklch(47.86% 0.164 354.9)
XYZxyz(16.9994, 9.5393, 12.4990)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2662 #269E62
analogous
#9E269E #9E2662 #9E2626
triadic
#9E2662 #629E26 #26629E
tetradic
#9E2662 #9E9E26 #269E62 #26269E
square
#9E2662 #9E9E26 #269E62 #26269E
split-complementary
#9E2662 #269E26 #269E9E
monochromatic
#3B0E25 #6D1A43 #9E2662 #CE3381 #DA659F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2662#FFFFFF#000000##FFFFFF
##9E26621.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)
#3E4964
Deuteranopia (green-blind)
#5F5F5F
Tritanopia (blue-blind)
#AB1841
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2662;
/* rgb */ color: rgb(158, 38, 98);
/* oklch */ color: oklch(47.9% 0.164 354.9);
Tailwind
colors: {
  custom: {
    50: '#bf6c8e',
    500: '#9e2662',
    950: '#000000',
  },
}
SCSS
$custom: #9e2662;
$custom-light: #bf6c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2662",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 98
  },
  "hsl": {
    "h": 330,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.16414,
    "h": 354.9
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#9E2662
secondary
#60C090
accent
#E49443
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9E2662

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

Preview Lab → · Contrast checker → · Palette generator →

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