#9E2977#9E2977

#9E2977 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.172 H 344.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9E2977
RGBrgb(158, 41, 119)
HSLhsl(320, 59%, 39%)
HSVhsv(320, 74%, 62%)
CMYKcmyk(0%, 74.1%, 24.7%, 38%)
CIE-LABlab(38.18, 54.79, -17.27)
CIE-LCHlch(38.18, 57.45, 342.50°)
OKLaboklab(48.98% 0.1656 -0.046)
OKLCHoklch(48.98% 0.172 344.5)
XYZxyz(18.2240, 10.1888, 18.4561)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2977 #299E50
analogous
#8B299E #9E2977 #9E293D
triadic
#9E2977 #779E29 #29779E
tetradic
#9E2977 #9E8B29 #299E50 #293D9E
square
#9E2977 #9E8B29 #299E50 #293D9E
split-complementary
#9E2977 #3D9E29 #299E8B
monochromatic
#3D102E #6D1C52 #9E2977 #CC399B #D869B3

Accessibility & contrast

On white

6.91
#9E2977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E2977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2977
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2977#FFFFFF#000000##FFFFFF
##9E29771.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D79
Deuteranopia (green-blind)
#5A6174
Tritanopia (blue-blind)
#A9284C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2977;
/* rgb */ color: rgb(158, 41, 119);
/* oklch */ color: oklch(49.0% 0.172 344.5);
Tailwind
colors: {
  custom: {
    50: '#be6e9e',
    500: '#9e2977',
    950: '#000000',
  },
}
SCSS
$custom: #9e2977;
$custom-light: #be6e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2977",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 320,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48981,
    "c": 0.17185,
    "h": 344.5
  },
  "luminance": 0.10187
}

Semantic roles & 50–950 ramp

primary
#9E2977
secondary
#64BF82
accent
#E27A46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2977

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

Preview Lab → · Contrast checker → · Palette generator →

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