#9D3271#9D3271

#9D3271 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.156 H 348.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9D3271
RGBrgb(157, 50, 113)
HSLhsl(325, 52%, 41%)
HSVhsv(325, 68%, 62%)
CMYKcmyk(0%, 68.2%, 28%, 38.4%)
CIE-LABlab(38.97, 50.32, -12.33)
CIE-LCHlch(38.97, 51.81, 346.23°)
OKLaboklab(49.45% 0.1527 -0.0324)
OKLCHoklch(49.45% 0.156 348)
XYZxyz(18.0267, 10.6434, 16.7246)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3271 #329D5E
analogous
#93329D #9D3271 #9D323B
triadic
#9D3271 #719D32 #32719D
tetradic
#9D3271 #9D9332 #329D5E #323B9D
square
#9D3271 #9D9332 #329D5E #323B9D
split-complementary
#9D3271 #3B9D32 #329D93
monochromatic
#40142E #6F2350 #9D3271 #C54891 #D376AD

Accessibility & contrast

On white

6.71
#9D3271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9D3271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3271
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3271#FFFFFF#000000##FFFFFF
##9D32711.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d3271;
/* rgb */ color: rgb(157, 50, 113);
/* oklch */ color: oklch(49.4% 0.156 348.0);
Tailwind
colors: {
  custom: {
    50: '#be7299',
    500: '#9d3271',
    950: '#000000',
  },
}
SCSS
$custom: #9d3271;
$custom-light: #be7299;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3271",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 324.673,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.15613,
    "h": 348
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#9D3271
secondary
#6FBC8F
accent
#DB874D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D3271

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

Preview Lab → · Contrast checker → · Palette generator →

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