#9D2774#9D2774

#9D2774 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.172 H 345.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9D2774
RGBrgb(157, 39, 116)
HSLhsl(321, 60%, 38%)
HSVhsv(321, 75%, 62%)
CMYKcmyk(0%, 75.2%, 26.1%, 38.4%)
CIE-LABlab(37.63, 54.81, -16.26)
CIE-LCHlch(37.63, 57.17, 343.48°)
OKLaboklab(48.51% 0.1661 -0.0432)
OKLCHoklch(48.51% 0.172 345.4)
XYZxyz(17.7833, 9.8820, 17.4905)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2774 #279D50
analogous
#8B279D #9D2774 #9D2739
triadic
#9D2774 #749D27 #27749D
tetradic
#9D2774 #9D8B27 #279D50 #27399D
square
#9D2774 #9D8B27 #279D50 #27399D
split-complementary
#9D2774 #399D27 #279D8B
monochromatic
#3B0F2C #6C1B50 #9D2774 #CD3598 #D966B1

Accessibility & contrast

On white

7.06
#9D2774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D2774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2774
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2774#FFFFFF#000000##FFFFFF
##9D27741.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C76
Deuteranopia (green-blind)
#5A6071
Tritanopia (blue-blind)
#A8254A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2774;
/* rgb */ color: rgb(157, 39, 116);
/* oklch */ color: oklch(48.5% 0.172 345.4);
Tailwind
colors: {
  custom: {
    50: '#be6d9c',
    500: '#9d2774',
    950: '#000000',
  },
}
SCSS
$custom: #9d2774;
$custom-light: #be6d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2774",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 320.847,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48506,
    "c": 0.17164,
    "h": 345.4
  },
  "luminance": 0.0988
}

Semantic roles & 50–950 ramp

primary
#9D2774
secondary
#61BF82
accent
#E37C44
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2774

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

Preview Lab → · Contrast checker → · Palette generator →

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