#9D3277#9D3277

#9D3277 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.160 H 344.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9D3277
RGBrgb(157, 50, 119)
HSLhsl(321, 52%, 41%)
HSVhsv(321, 68%, 62%)
CMYKcmyk(0%, 68.2%, 24.2%, 38.4%)
CIE-LABlab(39.21, 51.13, -15.70)
CIE-LCHlch(39.21, 53.49, 342.93°)
OKLaboklab(49.7% 0.1542 -0.0417)
OKLCHoklch(49.7% 0.16 344.9)
XYZxyz(18.3757, 10.7831, 18.5628)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3277 #329D58
analogous
#8D329D #9D3277 #9D3242
triadic
#9D3277 #779D32 #32779D
tetradic
#9D3277 #9D8D32 #329D58 #32429D
square
#9D3277 #9D8D32 #329D58 #32429D
split-complementary
#9D3277 #429D32 #329D8D
monochromatic
#401431 #6F2354 #9D3277 #C54898 #D376B2

Accessibility & contrast

On white

6.65
#9D3277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9D3277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3277
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3277#FFFFFF#000000##FFFFFF
##9D32771.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5179
Deuteranopia (green-blind)
#5D6374
Tritanopia (blue-blind)
#A73150
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d3277;
/* rgb */ color: rgb(157, 50, 119);
/* oklch */ color: oklch(49.7% 0.160 344.9);
Tailwind
colors: {
  custom: {
    50: '#bd729e',
    500: '#9d3277',
    950: '#000000',
  },
}
SCSS
$custom: #9d3277;
$custom-light: #bd729e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3277",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 321.308,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49703,
    "c": 0.15973,
    "h": 344.9
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#9D3277
secondary
#6FBC8A
accent
#DB7F4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9D3277

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

Preview Lab → · Contrast checker → · Palette generator →

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