#9D2A73#9D2A73

#9D2A73 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.168 H 346.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9D2A73
RGBrgb(157, 42, 115)
HSLhsl(322, 58%, 39%)
HSVhsv(322, 73%, 62%)
CMYKcmyk(0%, 73.2%, 26.8%, 38.4%)
CIE-LABlab(37.96, 53.64, -15.13)
CIE-LCHlch(37.96, 55.73, 344.25°)
OKLaboklab(48.73% 0.1627 -0.0401)
OKLCHoklch(48.73% 0.168 346.2)
XYZxyz(17.8279, 10.0638, 17.2200)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A73 #2A9D54
analogous
#8E2A9D #9D2A73 #9D2A3A
triadic
#9D2A73 #739D2A #2A739D
tetradic
#9D2A73 #9D8E2A #2A9D54 #2A3A9D
square
#9D2A73 #9D8E2A #2A9D54 #2A3A9D
split-complementary
#9D2A73 #3A9D2A #2A9D8E
monochromatic
#3C102C #6D1D50 #9D2A73 #CA3A96 #D76AAF

Accessibility & contrast

On white

6.97
#9D2A73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D2A73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A73
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A73#FFFFFF#000000##FFFFFF
##9D2A731.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D75
Deuteranopia (green-blind)
#5B6070
Tritanopia (blue-blind)
#A8274B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2a73;
/* rgb */ color: rgb(157, 42, 115);
/* oklch */ color: oklch(48.7% 0.168 346.2);
Tailwind
colors: {
  custom: {
    50: '#be6e9b',
    500: '#9d2a73',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a73;
$custom-light: #be6e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a73",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 321.913,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48731,
    "c": 0.16754,
    "h": 346.2
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#9D2A73
secondary
#65BE85
accent
#E17F47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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