#9D3771#9D3771

#9D3771 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.0% C 0.149 H 348.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9D3771
RGBrgb(157, 55, 113)
HSLhsl(326, 48%, 42%)
HSVhsv(326, 65%, 62%)
CMYKcmyk(0%, 65%, 28%, 38.4%)
CIE-LABlab(39.74, 48.21, -11.17)
CIE-LCHlch(39.74, 49.49, 346.96°)
OKLaboklab(50.01% 0.1462 -0.0293)
OKLCHoklch(50.01% 0.149 348.7)
XYZxyz(18.2522, 11.0946, 16.7998)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3771 #379D63
analogous
#96379D #9D3771 #9D373E
triadic
#9D3771 #719D37 #37719D
tetradic
#9D3771 #9D9637 #379D63 #373E9D
square
#9D3771 #9D9637 #379D63 #373E9D
split-complementary
#9D3771 #3E9D37 #379D96
monochromatic
#421730 #702750 #9D3771 #C25090 #D17DAD

Accessibility & contrast

On white

6.52
#9D3771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9D3771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3771
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3771#FFFFFF#000000##FFFFFF
##9D37711.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445273
Deuteranopia (green-blind)
#61646F
Tritanopia (blue-blind)
#A8334F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d3771;
/* rgb */ color: rgb(157, 55, 113);
/* oklch */ color: oklch(50.0% 0.149 348.7);
Tailwind
colors: {
  custom: {
    50: '#bd7499',
    500: '#9d3771',
    950: '#000000',
  },
}
SCSS
$custom: #9d3771;
$custom-light: #bd7499;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3771",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 325.882,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50012,
    "c": 0.14911,
    "h": 348.7
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

primary
#9D3771
secondary
#75BB93
accent
#D88B50
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #9D3771

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

Preview Lab → · Contrast checker → · Palette generator →

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