#9D277A#9D277A

#9D277A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.175 H 342.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9D277A
RGBrgb(157, 39, 122)
HSLhsl(318, 60%, 38%)
HSVhsv(318, 75%, 62%)
CMYKcmyk(0%, 75.2%, 22.3%, 38.4%)
CIE-LABlab(37.89, 55.61, -19.61)
CIE-LCHlch(37.89, 58.97, 340.58°)
OKLaboklab(48.78% 0.1673 -0.0526)
OKLCHoklch(48.78% 0.175 342.6)
XYZxyz(18.1436, 10.0262, 19.3883)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D277A #279D4A
analogous
#85279D #9D277A #9D273F
triadic
#9D277A #7A9D27 #277A9D
tetradic
#9D277A #9D8527 #279D4A #273F9D
square
#9D277A #9D8527 #279D4A #273F9D
split-complementary
#9D277A #3F9D27 #279D85
monochromatic
#3B0F2E #6C1B54 #9D277A #CD35A0 #D966B7

Accessibility & contrast

On white

6.99
#9D277A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9D277A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D277A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D277A#FFFFFF#000000##FFFFFF
##9D277A1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#586077
Tritanopia (blue-blind)
#A7284D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d277a;
/* rgb */ color: rgb(157, 39, 122);
/* oklch */ color: oklch(48.8% 0.175 342.6);
Tailwind
colors: {
  custom: {
    50: '#be6da0',
    500: '#9d277a',
    950: '#000000',
  },
}
SCSS
$custom: #9d277a;
$custom-light: #be6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d277a",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 317.797,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4878,
    "c": 0.17534,
    "h": 342.6
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#9D277A
secondary
#61BF7D
accent
#E37444
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D277A

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

Preview Lab → · Contrast checker → · Palette generator →

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