#9D2F71#9D2F71

#9D2F71 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.160 H 347.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9D2F71
RGBrgb(157, 47, 113)
HSLhsl(324, 54%, 40%)
HSVhsv(324, 70%, 62%)
CMYKcmyk(0%, 70.1%, 28%, 38.4%)
CIE-LABlab(38.54, 51.52, -12.98)
CIE-LCHlch(38.54, 53.13, 345.86°)
OKLaboklab(49.13% 0.1564 -0.0342)
OKLCHoklch(49.13% 0.16 347.7)
XYZxyz(17.9026, 10.3953, 16.6833)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F71 #2F9D5B
analogous
#922F9D #9D2F71 #9D2F3A
triadic
#9D2F71 #719D2F #2F719D
tetradic
#9D2F71 #9D922F #2F9D5B #2F3A9D
square
#9D2F71 #9D922F #2F9D5B #2F3A9D
split-complementary
#9D2F71 #3A9D2F #2F9D92
monochromatic
#3F132D #6E214F #9D2F71 #C74392 #D572AD

Accessibility & contrast

On white

6.82
#9D2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2F71
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F71#FFFFFF#000000##FFFFFF
##9D2F711.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#5D626E
Tritanopia (blue-blind)
#A82B4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2f71;
/* rgb */ color: rgb(157, 47, 113);
/* oklch */ color: oklch(49.1% 0.160 347.7);
Tailwind
colors: {
  custom: {
    50: '#be7099',
    500: '#9d2f71',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f71;
$custom-light: #be7099;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f71",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 324,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.49133,
    "c": 0.16012,
    "h": 347.7
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#9D2F71
secondary
#6BBC8C
accent
#DD854B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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