#9D2E71#9D2E71

#9D2E71 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.161 H 347.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9D2E71
RGBrgb(157, 46, 113)
HSLhsl(324, 55%, 40%)
HSVhsv(324, 71%, 62%)
CMYKcmyk(0%, 70.7%, 28%, 38.4%)
CIE-LABlab(38.40, 51.90, -13.19)
CIE-LCHlch(38.40, 53.55, 345.74°)
OKLaboklab(49.03% 0.1576 -0.0348)
OKLCHoklch(49.03% 0.161 347.6)
XYZxyz(17.8631, 10.3163, 16.6701)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E71 #2E9D5A
analogous
#922E9D #9D2E71 #9D2E39
triadic
#9D2E71 #719D2E #2E719D
tetradic
#9D2E71 #9D922E #2E9D5A #2E399D
square
#9D2E71 #9D922E #2E9D5A #2E399D
split-complementary
#9D2E71 #399D2E #2E9D92
monochromatic
#3E122D #6E204F #9D2E71 #C74192 #D570AD

Accessibility & contrast

On white

6.86
#9D2E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9D2E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E71
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E71#FFFFFF#000000##FFFFFF
##9D2E711.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E73
Deuteranopia (green-blind)
#5D616E
Tritanopia (blue-blind)
#A82A4B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2e71;
/* rgb */ color: rgb(157, 46, 113);
/* oklch */ color: oklch(49.0% 0.161 347.6);
Tailwind
colors: {
  custom: {
    50: '#be7099',
    500: '#9d2e71',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e71;
$custom-light: #be7099;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e71",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 323.784,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49031,
    "c": 0.16142,
    "h": 347.6
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

primary
#9D2E71
secondary
#6ABD8B
accent
#DE854A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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