#9E277E#9E277E

#9E277E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.179 H 341.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9E277E
RGBrgb(158, 39, 126)
HSLhsl(316, 60%, 39%)
HSVhsv(316, 75%, 62%)
CMYKcmyk(0%, 75.3%, 20.3%, 38%)
CIE-LABlab(38.25, 56.42, -21.52)
CIE-LCHlch(38.25, 60.38, 339.12°)
OKLaboklab(49.13% 0.1689 -0.0579)
OKLCHoklch(49.13% 0.179 341.1)
XYZxyz(18.5925, 10.2284, 20.7297)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E277E #279E47
analogous
#82279E #9E277E #9E2743
triadic
#9E277E #7E9E27 #277E9E
tetradic
#9E277E #9E8227 #279E47 #27439E
square
#9E277E #9E8227 #279E47 #27439E
split-complementary
#9E277E #439E27 #279E82
monochromatic
#3C0F30 #6D1B57 #9E277E #CD35A4 #D966BA

Accessibility & contrast

On white

6.90
#9E277E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E277E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E277E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E277E#FFFFFF#000000##FFFFFF
##9E277E1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#A82A4F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e277e;
/* rgb */ color: rgb(158, 39, 126);
/* oklch */ color: oklch(49.1% 0.179 341.1);
Tailwind
colors: {
  custom: {
    50: '#be6da3',
    500: '#9e277e',
    950: '#000000',
  },
}
SCSS
$custom: #9e277e;
$custom-light: #be6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e277e",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 316.134,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49133,
    "c": 0.17856,
    "h": 341.1
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#9E277E
secondary
#62BF7B
accent
#E46F44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E277E

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

Preview Lab → · Contrast checker → · Palette generator →

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