#9D2E72#9D2E72

#9D2E72 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.162 H 347.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9D2E72
RGBrgb(157, 46, 114)
HSLhsl(323, 55%, 40%)
HSVhsv(323, 71%, 62%)
CMYKcmyk(0%, 70.7%, 27.4%, 38.4%)
CIE-LABlab(38.44, 52.03, -13.76)
CIE-LCHlch(38.44, 53.82, 345.19°)
OKLaboklab(49.07% 0.1579 -0.0363)
OKLCHoklch(49.07% 0.162 347)
XYZxyz(17.9197, 10.3389, 16.9682)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E72 #2E9D59
analogous
#902E9D #9D2E72 #9D2E3B
triadic
#9D2E72 #729D2E #2E729D
tetradic
#9D2E72 #9D902E #2E9D59 #2E3B9D
square
#9D2E72 #9D902E #2E9D59 #2E3B9D
split-complementary
#9D2E72 #3B9D2E #2E9D90
monochromatic
#3E122D #6E2050 #9D2E72 #C74193 #D570AE

Accessibility & contrast

On white

6.85
#9D2E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9D2E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E72
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E72#FFFFFF#000000##FFFFFF
##9D2E721.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E74
Deuteranopia (green-blind)
#5D616F
Tritanopia (blue-blind)
#A82B4C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2e72;
/* rgb */ color: rgb(157, 46, 114);
/* oklch */ color: oklch(49.1% 0.162 347.0);
Tailwind
colors: {
  custom: {
    50: '#be709a',
    500: '#9d2e72',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e72;
$custom-light: #be709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e72",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 323.243,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49074,
    "c": 0.16199,
    "h": 347
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#9D2E72
secondary
#6ABD8A
accent
#DE834A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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