#9E2777#9E2777

#9E2777 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.174 H 344.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9E2777
RGBrgb(158, 39, 119)
HSLhsl(320, 60%, 39%)
HSVhsv(320, 75%, 62%)
CMYKcmyk(0%, 75.3%, 24.7%, 38%)
CIE-LABlab(37.94, 55.47, -17.64)
CIE-LCHlch(37.94, 58.20, 342.36°)
OKLaboklab(48.81% 0.1677 -0.047)
OKLCHoklch(48.81% 0.174 344.3)
XYZxyz(18.1566, 10.0540, 18.4336)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2777 #279E4E
analogous
#89279E #9E2777 #9E273B
triadic
#9E2777 #779E27 #27779E
tetradic
#9E2777 #9E8927 #279E4E #273B9E
square
#9E2777 #9E8927 #279E4E #273B9E
split-complementary
#9E2777 #3B9E27 #279E89
monochromatic
#3C0F2D #6D1B52 #9E2777 #CD359B #D966B4

Accessibility & contrast

On white

6.98
#9E2777 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E2777 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2777
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2777#FFFFFF#000000##FFFFFF
##9E27771.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D79
Deuteranopia (green-blind)
#596074
Tritanopia (blue-blind)
#A9264C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2777;
/* rgb */ color: rgb(158, 39, 119);
/* oklch */ color: oklch(48.8% 0.174 344.3);
Tailwind
colors: {
  custom: {
    50: '#bf6d9e',
    500: '#9e2777',
    950: '#000000',
  },
}
SCSS
$custom: #9e2777;
$custom-light: #bf6d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2777",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 319.664,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.17414,
    "h": 344.3
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#9E2777
secondary
#62BF80
accent
#E47844
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9E2777

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

Preview Lab → · Contrast checker → · Palette generator →

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