#9E277A#9E277A

#9E277A is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.176 H 342.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9E277A
RGBrgb(158, 39, 122)
HSLhsl(318, 60%, 39%)
HSVhsv(318, 75%, 62%)
CMYKcmyk(0%, 75.3%, 22.8%, 38%)
CIE-LABlab(38.07, 55.87, -19.31)
CIE-LCHlch(38.07, 59.11, 340.93°)
OKLaboklab(48.94% 0.1682 -0.0517)
OKLCHoklch(48.94% 0.176 342.9)
XYZxyz(18.3396, 10.1272, 19.3975)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E277A #279E4B
analogous
#86279E #9E277A #9E273E
triadic
#9E277A #7A9E27 #277A9E
tetradic
#9E277A #9E8627 #279E4B #273E9E
square
#9E277A #9E8627 #279E4B #273E9E
split-complementary
#9E277A #3E9E27 #279E86
monochromatic
#3C0F2E #6D1B54 #9E277A #CD359F #D966B6

Accessibility & contrast

On white

6.94
#9E277A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E277A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E277A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E277A#FFFFFF#000000##FFFFFF
##9E277A1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#586177
Tritanopia (blue-blind)
#A8284D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e277a;
/* rgb */ color: rgb(158, 39, 122);
/* oklch */ color: oklch(48.9% 0.176 342.9);
Tailwind
colors: {
  custom: {
    50: '#bf6da0',
    500: '#9e277a',
    950: '#000000',
  },
}
SCSS
$custom: #9e277a;
$custom-light: #bf6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e277a",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 318.151,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48944,
    "c": 0.17599,
    "h": 342.9
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#9E277A
secondary
#62BF7E
accent
#E47444
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E277A

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

Preview Lab → · Contrast checker → · Palette generator →

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