#9D3371#9D3371

#9D3371 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.155 H 348.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9D3371
RGBrgb(157, 51, 113)
HSLhsl(325, 51%, 41%)
HSVhsv(325, 68%, 62%)
CMYKcmyk(0%, 67.5%, 28%, 38.4%)
CIE-LABlab(39.12, 49.91, -12.10)
CIE-LCHlch(39.12, 51.36, 346.37°)
OKLaboklab(49.56% 0.1515 -0.0318)
OKLCHoklch(49.56% 0.155 348.1)
XYZxyz(18.0699, 10.7299, 16.7390)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3371 #339D5F
analogous
#94339D #9D3371 #9D333C
triadic
#9D3371 #719D33 #33719D
tetradic
#9D3371 #9D9433 #339D5F #333C9D
square
#9D3371 #9D9433 #339D5F #333C9D
split-complementary
#9D3371 #3C9D33 #339D94
monochromatic
#41152F #6F2450 #9D3371 #C44991 #D377AD

Accessibility & contrast

On white

6.68
#9D3371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9D3371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3371
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3371#FFFFFF#000000##FFFFFF
##9D33711.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415073
Deuteranopia (green-blind)
#5F636E
Tritanopia (blue-blind)
#A82F4D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d3371;
/* rgb */ color: rgb(157, 51, 113);
/* oklch */ color: oklch(49.6% 0.155 348.1);
Tailwind
colors: {
  custom: {
    50: '#bd7299',
    500: '#9d3371',
    950: '#000000',
  },
}
SCSS
$custom: #9d3371;
$custom-light: #bd7299;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3371",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 324.906,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49558,
    "c": 0.15476,
    "h": 348.1
  },
  "luminance": 0.10728
}

Semantic roles & 50–950 ramp

primary
#9D3371
secondary
#70BB90
accent
#DA884D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D3371

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

Preview Lab → · Contrast checker → · Palette generator →

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