#9E2562#9E2562

#9E2562 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.165 H 354.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9E2562
RGBrgb(158, 37, 98)
HSLhsl(330, 62%, 38%)
HSVhsv(330, 77%, 62%)
CMYKcmyk(0%, 76.6%, 38%, 38%)
CIE-LABlab(36.89, 53.58, -5.99)
CIE-LCHlch(36.89, 53.91, 353.62°)
OKLaboklab(47.77% 0.1645 -0.0151)
OKLCHoklch(47.77% 0.165 354.7)
XYZxyz(16.9678, 9.4762, 12.4885)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2562 #259E61
analogous
#9D259E #9E2562 #9E2526
triadic
#9E2562 #629E25 #25629E
tetradic
#9E2562 #9E9D25 #259E61 #25269E
square
#9E2562 #9E9D25 #259E61 #25269E
split-complementary
#9E2562 #269E25 #259E9D
monochromatic
#3B0E24 #6C1943 #9E2562 #CF3181 #DA639F

Accessibility & contrast

On white

7.25
#9E2562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9E2562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2562
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2562#FFFFFF#000000##FFFFFF
##9E25621.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4964
Deuteranopia (green-blind)
#5F5F5F
Tritanopia (blue-blind)
#AB1740
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2562;
/* rgb */ color: rgb(158, 37, 98);
/* oklch */ color: oklch(47.8% 0.165 354.7);
Tailwind
colors: {
  custom: {
    50: '#bf6c8e',
    500: '#9e2562',
    950: '#000000',
  },
}
SCSS
$custom: #9e2562;
$custom-light: #bf6c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2562",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 98
  },
  "hsl": {
    "h": 329.752,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4777,
    "c": 0.16522,
    "h": 354.7
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#9E2562
secondary
#5FC08F
accent
#E59343
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E2562

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

Preview Lab → · Contrast checker → · Palette generator →

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