#9D2E81#9D2E81

#9D2E81 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.172 H 339.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9D2E81
RGBrgb(157, 46, 129)
HSLhsl(315, 55%, 40%)
HSVhsv(315, 71%, 62%)
CMYKcmyk(0%, 70.7%, 17.8%, 38.4%)
CIE-LABlab(39.09, 54.12, -22.10)
CIE-LCHlch(39.09, 58.45, 337.79°)
OKLaboklab(49.75% 0.1609 -0.0596)
OKLCHoklch(49.75% 0.172 339.7)
XYZxyz(18.8445, 10.7088, 21.8392)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E81 #2E9D4A
analogous
#822E9D #9D2E81 #9D2E4A
triadic
#9D2E81 #819D2E #2E819D
tetradic
#9D2E81 #9D822E #2E9D4A #2E4A9D
square
#9D2E81 #9D822E #2E9D4A #2E4A9D
split-complementary
#9D2E81 #4A9D2E #2E9D82
monochromatic
#3E1233 #6E205A #9D2E81 #C741A5 #D570BC

Accessibility & contrast

On white

6.68
#9D2E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2E81
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E81#FFFFFF#000000##FFFFFF
##9D2E811.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355183
Deuteranopia (green-blind)
#58627E
Tritanopia (blue-blind)
#A63253
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2e81;
/* rgb */ color: rgb(157, 46, 129);
/* oklch */ color: oklch(49.8% 0.172 339.7);
Tailwind
colors: {
  custom: {
    50: '#bd70a5',
    500: '#9d2e81',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e81;
$custom-light: #bd70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e81",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 315.135,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49752,
    "c": 0.17158,
    "h": 339.7
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#9D2E81
secondary
#6ABD7F
accent
#DE6F4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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