#9E2F77#9E2F77

#9E2F77 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.164 H 344.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9E2F77
RGBrgb(158, 47, 119)
HSLhsl(321, 54%, 40%)
HSVhsv(321, 70%, 62%)
CMYKcmyk(0%, 70.3%, 24.7%, 38%)
CIE-LABlab(38.96, 52.59, -16.07)
CIE-LCHlch(38.96, 55.00, 343.00°)
OKLaboklab(49.55% 0.1588 -0.0427)
OKLCHoklch(49.55% 0.164 344.9)
XYZxyz(18.4475, 10.6359, 18.5306)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F77 #2F9E56
analogous
#8D2F9E #9E2F77 #9E2F40
triadic
#9E2F77 #779E2F #2F779E
tetradic
#9E2F77 #9E8D2F #2F9E56 #2F409E
square
#9E2F77 #9E8D2F #2F9E56 #2F409E
split-complementary
#9E2F77 #409E2F #2F9E8D
monochromatic
#401330 #6F2153 #9E2F77 #C74399 #D572B2

Accessibility & contrast

On white

6.72
#9E2F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9E2F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F77
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F77#FFFFFF#000000##FFFFFF
##9E2F771.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5079
Deuteranopia (green-blind)
#5C6374
Tritanopia (blue-blind)
#A82E4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2f77;
/* rgb */ color: rgb(158, 47, 119);
/* oklch */ color: oklch(49.6% 0.164 344.9);
Tailwind
colors: {
  custom: {
    50: '#be719e',
    500: '#9e2f77',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f77;
$custom-light: #be719e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f77",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 321.081,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.16447,
    "h": 344.9
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#9E2F77
secondary
#6CBD88
accent
#DE7E4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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