#9D2A75#9D2A75

#9D2A75 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.169 H 345.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9D2A75
RGBrgb(157, 42, 117)
HSLhsl(321, 58%, 39%)
HSVhsv(321, 73%, 62%)
CMYKcmyk(0%, 73.2%, 25.5%, 38.4%)
CIE-LABlab(38.04, 53.91, -16.25)
CIE-LCHlch(38.04, 56.30, 343.22°)
OKLaboklab(48.82% 0.1631 -0.0432)
OKLCHoklch(48.82% 0.169 345.2)
XYZxyz(17.9442, 10.1103, 17.8326)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A75 #2A9D52
analogous
#8C2A9D #9D2A75 #9D2A3B
triadic
#9D2A75 #759D2A #2A759D
tetradic
#9D2A75 #9D8C2A #2A9D52 #2A3B9D
square
#9D2A75 #9D8C2A #2A9D52 #2A3B9D
split-complementary
#9D2A75 #3B9D2A #2A9D8C
monochromatic
#3C102D #6D1D51 #9D2A75 #CA3A98 #D76AB1

Accessibility & contrast

On white

6.95
#9D2A75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D2A75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A75
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A75#FFFFFF#000000##FFFFFF
##9D2A751.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D77
Deuteranopia (green-blind)
#5A6172
Tritanopia (blue-blind)
#A8284C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2a75;
/* rgb */ color: rgb(157, 42, 117);
/* oklch */ color: oklch(48.8% 0.169 345.2);
Tailwind
colors: {
  custom: {
    50: '#be6e9d',
    500: '#9d2a75',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a75;
$custom-light: #be6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a75",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 320.87,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48819,
    "c": 0.16874,
    "h": 345.2
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#9D2A75
secondary
#65BE84
accent
#E17C47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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