#9D2E80#9D2E80

#9D2E80 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.171 H 340.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9D2E80
RGBrgb(157, 46, 128)
HSLhsl(316, 55%, 40%)
HSVhsv(316, 71%, 62%)
CMYKcmyk(0%, 70.7%, 18.5%, 38.4%)
CIE-LABlab(39.04, 53.97, -21.55)
CIE-LCHlch(39.04, 58.11, 338.23°)
OKLaboklab(49.7% 0.1607 -0.0581)
OKLCHoklch(49.7% 0.171 340.1)
XYZxyz(18.7784, 10.6824, 21.4908)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E80 #2E9D4B
analogous
#832E9D #9D2E80 #9D2E48
triadic
#9D2E80 #809D2E #2E809D
tetradic
#9D2E80 #9D832E #2E9D4B #2E489D
square
#9D2E80 #9D832E #2E9D4B #2E489D
split-complementary
#9D2E80 #489D2E #2E9D83
monochromatic
#3E1233 #6E2059 #9D2E80 #C741A4 #D570BB

Accessibility & contrast

On white

6.70
#9D2E80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9D2E80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E80
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E80#FFFFFF#000000##FFFFFF
##9D2E801.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355182
Deuteranopia (green-blind)
#58627D
Tritanopia (blue-blind)
#A63153
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2e80;
/* rgb */ color: rgb(157, 46, 128);
/* oklch */ color: oklch(49.7% 0.171 340.1);
Tailwind
colors: {
  custom: {
    50: '#bd70a5',
    500: '#9d2e80',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e80;
$custom-light: #bd70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e80",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 315.676,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.1709,
    "h": 340.1
  },
  "luminance": 0.10681
}

Semantic roles & 50–950 ramp

primary
#9D2E80
secondary
#6ABD80
accent
#DE714A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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