#9D276C#9D276C

#9D276C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.167 H 349.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9D276C
RGBrgb(157, 39, 108)
HSLhsl(325, 60%, 38%)
HSVhsv(325, 75%, 62%)
CMYKcmyk(0%, 75.2%, 31.2%, 38.4%)
CIE-LABlab(37.31, 53.80, -11.72)
CIE-LCHlch(37.31, 55.06, 347.71°)
OKLaboklab(48.16% 0.1643 -0.0306)
OKLCHoklch(48.16% 0.167 349.4)
XYZxyz(17.3378, 9.7038, 15.1444)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D276C #279D58
analogous
#93279D #9D276C #9D2731
triadic
#9D276C #6C9D27 #276C9D
tetradic
#9D276C #9D9327 #279D58 #27319D
square
#9D276C #9D9327 #279D58 #27319D
split-complementary
#9D276C #319D27 #279D93
monochromatic
#3B0F29 #6C1B4A #9D276C #CD358D #D966A9

Accessibility & contrast

On white

7.14
#9D276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D276C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D276C#FFFFFF#000000##FFFFFF
##9D276C1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B6E
Deuteranopia (green-blind)
#5C5F69
Tritanopia (blue-blind)
#A92046
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d276c;
/* rgb */ color: rgb(157, 39, 108);
/* oklch */ color: oklch(48.2% 0.167 349.4);
Tailwind
colors: {
  custom: {
    50: '#be6d96',
    500: '#9d276c',
    950: '#000000',
  },
}
SCSS
$custom: #9d276c;
$custom-light: #be6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#9d276c",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 324.915,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48164,
    "c": 0.16711,
    "h": 349.4
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#9D276C
secondary
#61BF88
accent
#E38644
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9D276C

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

Preview Lab → · Contrast checker → · Palette generator →

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