#9D2A71#9D2A71

#9D2A71 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.166 H 347.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9D2A71
RGBrgb(157, 42, 113)
HSLhsl(323, 58%, 39%)
HSVhsv(323, 73%, 62%)
CMYKcmyk(0%, 73.2%, 28%, 38.4%)
CIE-LABlab(37.88, 53.38, -14.00)
CIE-LCHlch(37.88, 55.19, 345.31°)
OKLaboklab(48.65% 0.1622 -0.0369)
OKLCHoklch(48.65% 0.166 347.2)
XYZxyz(17.7140, 10.0182, 16.6204)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A71 #2A9D56
analogous
#902A9D #9D2A71 #9D2A37
triadic
#9D2A71 #719D2A #2A719D
tetradic
#9D2A71 #9D902A #2A9D56 #2A379D
square
#9D2A71 #9D902A #2A9D56 #2A379D
split-complementary
#9D2A71 #379D2A #2A9D90
monochromatic
#3C102B #6D1D4E #9D2A71 #CA3A93 #D76AAD

Accessibility & contrast

On white

6.99
#9D2A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9D2A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A71
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A71#FFFFFF#000000##FFFFFF
##9D2A711.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C73
Deuteranopia (green-blind)
#5C606E
Tritanopia (blue-blind)
#A8264A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2a71;
/* rgb */ color: rgb(157, 42, 113);
/* oklch */ color: oklch(48.6% 0.166 347.2);
Tailwind
colors: {
  custom: {
    50: '#be6e9a',
    500: '#9d2a71',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a71;
$custom-light: #be6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a71",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 322.957,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48645,
    "c": 0.16638,
    "h": 347.2
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#9D2A71
secondary
#65BE87
accent
#E18247
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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