#9D3276#9D3276

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

Color values

HEX#9D3276
RGBrgb(157, 50, 118)
HSLhsl(322, 52%, 41%)
HSVhsv(322, 68%, 62%)
CMYKcmyk(0%, 68.2%, 24.8%, 38.4%)
CIE-LABlab(39.17, 50.99, -15.14)
CIE-LCHlch(39.17, 53.19, 343.46°)
OKLaboklab(49.66% 0.154 -0.0402)
OKLCHoklch(49.66% 0.159 345.4)
XYZxyz(18.3159, 10.7592, 18.2482)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3276 #329D59
analogous
#8E329D #9D3276 #9D3240
triadic
#9D3276 #769D32 #32769D
tetradic
#9D3276 #9D8E32 #329D59 #32409D
square
#9D3276 #9D8E32 #329D59 #32409D
split-complementary
#9D3276 #409D32 #329D8E
monochromatic
#401430 #6F2353 #9D3276 #C54897 #D376B1

Accessibility & contrast

On white

6.66
#9D3276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D3276
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3276#FFFFFF#000000##FFFFFF
##9D32761.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5178
Deuteranopia (green-blind)
#5D6373
Tritanopia (blue-blind)
#A7304F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d3276;
/* rgb */ color: rgb(157, 50, 118);
/* oklch */ color: oklch(49.7% 0.159 345.4);
Tailwind
colors: {
  custom: {
    50: '#bd729d',
    500: '#9d3276',
    950: '#000000',
  },
}
SCSS
$custom: #9d3276;
$custom-light: #bd729d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3276",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 321.869,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49659,
    "c": 0.15911,
    "h": 345.4
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#9D3276
secondary
#6FBC8B
accent
#DB814D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9D3276

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

Preview Lab → · Contrast checker → · Palette generator →

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