#9E277D#9E277D

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

Color values

HEX#9E277D
RGBrgb(158, 39, 125)
HSLhsl(317, 60%, 39%)
HSVhsv(317, 75%, 62%)
CMYKcmyk(0%, 75.3%, 20.9%, 38%)
CIE-LABlab(38.20, 56.28, -20.97)
CIE-LCHlch(38.20, 60.06, 339.56°)
OKLaboklab(49.09% 0.1687 -0.0564)
OKLCHoklch(49.09% 0.178 341.5)
XYZxyz(18.5283, 10.2027, 20.3916)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E277D #279E48
analogous
#83279E #9E277D #9E2741
triadic
#9E277D #7D9E27 #277D9E
tetradic
#9E277D #9E8327 #279E48 #27419E
square
#9E277D #9E8327 #279E48 #27419E
split-complementary
#9E277D #419E27 #279E83
monochromatic
#3C0F2F #6D1B56 #9E277D #CD35A3 #D966B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E277D#FFFFFF#000000##FFFFFF
##9E277D1.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)
#324E7F
Deuteranopia (green-blind)
#57617A
Tritanopia (blue-blind)
#A8294F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e277d;
/* rgb */ color: rgb(158, 39, 125);
/* oklch */ color: oklch(49.1% 0.178 341.5);
Tailwind
colors: {
  custom: {
    50: '#be6da3',
    500: '#9e277d',
    950: '#000000',
  },
}
SCSS
$custom: #9e277d;
$custom-light: #be6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e277d",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 316.639,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49085,
    "c": 0.17791,
    "h": 341.5
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

primary
#9E277D
secondary
#62BF7C
accent
#E47044
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E277D

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

Preview Lab → · Contrast checker → · Palette generator →

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