#9D277B#9D277B

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

Color values

HEX#9D277B
RGBrgb(157, 39, 123)
HSLhsl(317, 60%, 38%)
HSVhsv(317, 75%, 62%)
CMYKcmyk(0%, 75.2%, 21.7%, 38.4%)
CIE-LABlab(37.93, 55.75, -20.16)
CIE-LCHlch(37.93, 59.28, 340.12°)
OKLaboklab(48.83% 0.1674 -0.0541)
OKLCHoklch(48.83% 0.176 342.1)
XYZxyz(18.2059, 10.0511, 19.7163)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D277B #279D49
analogous
#84279D #9D277B #9D2740
triadic
#9D277B #7B9D27 #277B9D
tetradic
#9D277B #9D8427 #279D49 #27409D
square
#9D277B #9D8427 #279D49 #27409D
split-complementary
#9D277B #409D27 #279D84
monochromatic
#3B0F2E #6C1B55 #9D277B #CD35A1 #D966B8

Accessibility & contrast

On white

6.98
#9D277B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D277B
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D277B#FFFFFF#000000##FFFFFF
##9D277B1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#A7284E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d277b;
/* rgb */ color: rgb(157, 39, 123);
/* oklch */ color: oklch(48.8% 0.176 342.1);
Tailwind
colors: {
  custom: {
    50: '#be6da1',
    500: '#9d277b',
    950: '#000000',
  },
}
SCSS
$custom: #9d277b;
$custom-light: #be6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d277b",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 317.288,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48827,
    "c": 0.17597,
    "h": 342.1
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#9D277B
secondary
#61BF7C
accent
#E37244
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9D277B

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

Preview Lab → · Contrast checker → · Palette generator →

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