#9D277D#9D277D

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

Color values

HEX#9D277D
RGBrgb(157, 39, 125)
HSLhsl(316, 60%, 38%)
HSVhsv(316, 75%, 62%)
CMYKcmyk(0%, 75.2%, 20.4%, 38.4%)
CIE-LABlab(38.02, 56.02, -21.26)
CIE-LCHlch(38.02, 59.92, 339.22°)
OKLaboklab(48.92% 0.1678 -0.0572)
OKLCHoklch(48.92% 0.177 341.2)
XYZxyz(18.3324, 10.1017, 20.3824)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D277D #279D47
analogous
#82279D #9D277D #9D2742
triadic
#9D277D #7D9D27 #277D9D
tetradic
#9D277D #9D8227 #279D47 #27429D
square
#9D277D #9D8227 #279D47 #27429D
split-complementary
#9D277D #429D27 #279D82
monochromatic
#3B0F2F #6C1B56 #9D277D #CD35A3 #D966BA

Accessibility & contrast

On white

6.95
#9D277D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D277D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D277D
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D277D#FFFFFF#000000##FFFFFF
##9D277D1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#57607A
Tritanopia (blue-blind)
#A72A4F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d277d;
/* rgb */ color: rgb(157, 39, 125);
/* oklch */ color: oklch(48.9% 0.177 341.2);
Tailwind
colors: {
  custom: {
    50: '#be6da3',
    500: '#9d277d',
    950: '#000000',
  },
}
SCSS
$custom: #9d277d;
$custom-light: #be6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d277d",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 316.271,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48922,
    "c": 0.17727,
    "h": 341.2
  },
  "luminance": 0.101
}

Semantic roles & 50–950 ramp

primary
#9D277D
secondary
#61BF7A
accent
#E37044
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D277D

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

Preview Lab → · Contrast checker → · Palette generator →

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