#9D277C#9D277C

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

Color values

HEX#9D277C
RGBrgb(157, 39, 124)
HSLhsl(317, 60%, 38%)
HSVhsv(317, 75%, 62%)
CMYKcmyk(0%, 75.2%, 21%, 38.4%)
CIE-LABlab(37.98, 55.89, -20.71)
CIE-LCHlch(37.98, 59.60, 339.66°)
OKLaboklab(48.87% 0.1676 -0.0557)
OKLCHoklch(48.87% 0.177 341.6)
XYZxyz(18.2688, 10.0762, 20.0477)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D277C #279D48
analogous
#83279D #9D277C #9D2741
triadic
#9D277C #7C9D27 #277C9D
tetradic
#9D277C #9D8327 #279D48 #27419D
square
#9D277C #9D8327 #279D48 #27419D
split-complementary
#9D277C #419D27 #279D83
monochromatic
#3B0F2F #6C1B55 #9D277C #CD35A2 #D966B9

Accessibility & contrast

On white

6.97
#9D277C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D277C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D277C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D277C#FFFFFF#000000##FFFFFF
##9D277C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#576079
Tritanopia (blue-blind)
#A7294E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d277c;
/* rgb */ color: rgb(157, 39, 124);
/* oklch */ color: oklch(48.9% 0.177 341.6);
Tailwind
colors: {
  custom: {
    50: '#be6da2',
    500: '#9d277c',
    950: '#000000',
  },
}
SCSS
$custom: #9d277c;
$custom-light: #be6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d277c",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 316.78,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48874,
    "c": 0.17662,
    "h": 341.6
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#9D277C
secondary
#61BF7B
accent
#E37144
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D277C

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

Preview Lab → · Contrast checker → · Palette generator →

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