#9D2F72#9D2F72

#9D2F72 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.161 H 347.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9D2F72
RGBrgb(157, 47, 114)
HSLhsl(323, 54%, 40%)
HSVhsv(323, 70%, 62%)
CMYKcmyk(0%, 70.1%, 27.4%, 38.4%)
CIE-LABlab(38.58, 51.65, -13.55)
CIE-LCHlch(38.58, 53.39, 345.30°)
OKLaboklab(49.18% 0.1567 -0.0357)
OKLCHoklch(49.18% 0.161 347.2)
XYZxyz(17.9592, 10.4179, 16.9814)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F72 #2F9D5A
analogous
#912F9D #9D2F72 #9D2F3B
triadic
#9D2F72 #729D2F #2F729D
tetradic
#9D2F72 #9D912F #2F9D5A #2F3B9D
square
#9D2F72 #9D912F #2F9D5A #2F3B9D
split-complementary
#9D2F72 #3B9D2F #2F9D91
monochromatic
#3F132E #6E2150 #9D2F72 #C74393 #D572AE

Accessibility & contrast

On white

6.81
#9D2F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D2F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F72
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F72#FFFFFF#000000##FFFFFF
##9D2F721.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F74
Deuteranopia (green-blind)
#5D626F
Tritanopia (blue-blind)
#A82C4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2f72;
/* rgb */ color: rgb(157, 47, 114);
/* oklch */ color: oklch(49.2% 0.161 347.2);
Tailwind
colors: {
  custom: {
    50: '#be709a',
    500: '#9d2f72',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f72;
$custom-light: #be709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f72",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 323.455,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.1607,
    "h": 347.2
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#9D2F72
secondary
#6BBC8B
accent
#DD844B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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