#9D2071#9D2071

#9D2071 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.177 H 346.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9D2071
RGBrgb(157, 32, 113)
HSLhsl(321, 66%, 37%)
HSVhsv(321, 80%, 62%)
CMYKcmyk(0%, 79.6%, 28%, 38.4%)
CIE-LABlab(36.73, 56.61, -15.74)
CIE-LCHlch(36.73, 58.76, 344.46°)
OKLaboklab(47.82% 0.1723 -0.0417)
OKLCHoklch(47.82% 0.177 346.4)
XYZxyz(17.4026, 9.3954, 16.5166)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2071 #209D4C
analogous
#8B209D #9D2071 #9D2032
triadic
#9D2071 #719D20 #20719D
tetradic
#9D2071 #9D8B20 #209D4C #20329D
square
#9D2071 #9D8B20 #209D4C #20329D
split-complementary
#9D2071 #329D20 #209D8B
monochromatic
#370B28 #6A164C #9D2071 #D02A96 #DD5AAF

Accessibility & contrast

On white

7.30
#9D2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9D2071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2071
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2071#FFFFFF#000000##FFFFFF
##9D20711.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#585E6E
Tritanopia (blue-blind)
#A81C46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2071;
/* rgb */ color: rgb(157, 32, 113);
/* oklch */ color: oklch(47.8% 0.177 346.4);
Tailwind
colors: {
  custom: {
    50: '#be6a9a',
    500: '#9d2071',
    950: '#000000',
  },
}
SCSS
$custom: #9d2071;
$custom-light: #be6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2071",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 321.12,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47815,
    "c": 0.17727,
    "h": 346.4
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#9D2071
secondary
#57C17D
accent
#E97B3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2071

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

Preview Lab → · Contrast checker → · Palette generator →

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