#9D277E#9D277E

#9D277E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.178 H 340.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9D277E
RGBrgb(157, 39, 126)
HSLhsl(316, 60%, 38%)
HSVhsv(316, 75%, 62%)
CMYKcmyk(0%, 75.2%, 19.7%, 38.4%)
CIE-LABlab(38.07, 56.17, -21.81)
CIE-LCHlch(38.07, 60.25, 338.77°)
OKLaboklab(48.97% 0.1679 -0.0588)
OKLCHoklch(48.97% 0.178 340.7)
XYZxyz(18.3966, 10.1273, 20.7205)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D277E #279D46
analogous
#81279D #9D277E #9D2743
triadic
#9D277E #7E9D27 #277E9D
tetradic
#9D277E #9D8127 #279D46 #27439D
square
#9D277E #9D8127 #279D46 #27439D
split-complementary
#9D277E #439D27 #279D81
monochromatic
#3B0F2F #6C1B57 #9D277E #CD35A5 #D966BB

Accessibility & contrast

On white

6.94
#9D277E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D277E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D277E#FFFFFF#000000##FFFFFF
##9D277E1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E80
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#A72A4F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d277e;
/* rgb */ color: rgb(157, 39, 126);
/* oklch */ color: oklch(49.0% 0.178 340.7);
Tailwind
colors: {
  custom: {
    50: '#be6da3',
    500: '#9d277e',
    950: '#000000',
  },
}
SCSS
$custom: #9d277e;
$custom-light: #be6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d277e",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 315.763,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4897,
    "c": 0.17792,
    "h": 340.7
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#9D277E
secondary
#61BF7A
accent
#E36E44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D277E

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

Preview Lab → · Contrast checker → · Palette generator →

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