#9D2070#9D2070

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

Color values

HEX#9D2070
RGBrgb(157, 32, 112)
HSLhsl(322, 66%, 37%)
HSVhsv(322, 80%, 62%)
CMYKcmyk(0%, 79.6%, 28.7%, 38.4%)
CIE-LABlab(36.69, 56.49, -15.18)
CIE-LCHlch(36.69, 58.49, 344.96°)
OKLaboklab(47.77% 0.1721 -0.0401)
OKLCHoklch(47.77% 0.177 346.9)
XYZxyz(17.3466, 9.3730, 16.2217)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2070 #209D4D
analogous
#8C209D #9D2070 #9D2031
triadic
#9D2070 #709D20 #20709D
tetradic
#9D2070 #9D8C20 #209D4D #20319D
square
#9D2070 #9D8C20 #209D4D #20319D
split-complementary
#9D2070 #319D20 #209D8C
monochromatic
#370B27 #6A164C #9D2070 #D02A94 #DD5AAE

Accessibility & contrast

On white

7.31
#9D2070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9D2070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2070
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2070#FFFFFF#000000##FFFFFF
##9D20701.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334972
Deuteranopia (green-blind)
#595E6D
Tritanopia (blue-blind)
#A81B46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2070;
/* rgb */ color: rgb(157, 32, 112);
/* oklch */ color: oklch(47.8% 0.177 346.9);
Tailwind
colors: {
  custom: {
    50: '#be6a99',
    500: '#9d2070',
    950: '#000000',
  },
}
SCSS
$custom: #9d2070;
$custom-light: #be6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2070",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 321.6,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.1767,
    "h": 346.9
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#9D2070
secondary
#57C17E
accent
#E97C3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2070

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

Preview Lab → · Contrast checker → · Palette generator →

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