#9E277B#9E277B

#9E277B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.177 H 342.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9E277B
RGBrgb(158, 39, 123)
HSLhsl(318, 60%, 39%)
HSVhsv(318, 75%, 62%)
CMYKcmyk(0%, 75.3%, 22.2%, 38%)
CIE-LABlab(38.11, 56.00, -19.87)
CIE-LCHlch(38.11, 59.42, 340.47°)
OKLaboklab(48.99% 0.1684 -0.0533)
OKLCHoklch(48.99% 0.177 342.4)
XYZxyz(18.4019, 10.1521, 19.7255)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E277B #279E4A
analogous
#85279E #9E277B #9E273F
triadic
#9E277B #7B9E27 #277B9E
tetradic
#9E277B #9E8527 #279E4A #273F9E
square
#9E277B #9E8527 #279E4A #273F9E
split-complementary
#9E277B #3F9E27 #279E85
monochromatic
#3C0F2F #6D1B55 #9E277B #CD35A0 #D966B7

Accessibility & contrast

On white

6.93
#9E277B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E277B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E277B#FFFFFF#000000##FFFFFF
##9E277B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7D
Deuteranopia (green-blind)
#586178
Tritanopia (blue-blind)
#A8284E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e277b;
/* rgb */ color: rgb(158, 39, 123);
/* oklch */ color: oklch(49.0% 0.177 342.4);
Tailwind
colors: {
  custom: {
    50: '#be6da1',
    500: '#9e277b',
    950: '#000000',
  },
}
SCSS
$custom: #9e277b;
$custom-light: #be6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e277b",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 317.647,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48991,
    "c": 0.17663,
    "h": 342.4
  },
  "luminance": 0.1015
}

Semantic roles & 50–950 ramp

primary
#9E277B
secondary
#62BF7D
accent
#E47344
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9E277B

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

Preview Lab → · Contrast checker → · Palette generator →

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