#9D2F82#9D2F82

#9D2F82 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.171 H 339.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9D2F82
RGBrgb(157, 47, 130)
HSLhsl(315, 54%, 40%)
HSVhsv(315, 70%, 62%)
CMYKcmyk(0%, 70.1%, 17.2%, 38.4%)
CIE-LABlab(39.27, 53.88, -22.43)
CIE-LCHlch(39.27, 58.37, 337.40°)
OKLaboklab(49.9% 0.1599 -0.0606)
OKLCHoklch(49.9% 0.171 339.2)
XYZxyz(18.9508, 10.8146, 22.2041)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F82 #2F9D4A
analogous
#812F9D #9D2F82 #9D2F4B
triadic
#9D2F82 #829D2F #2F829D
tetradic
#9D2F82 #9D812F #2F9D4A #2F4B9D
square
#9D2F82 #9D812F #2F9D4A #2F4B9D
split-complementary
#9D2F82 #4B9D2F #2F9D81
monochromatic
#3F1334 #6E215B #9D2F82 #C743A6 #D572BC

Accessibility & contrast

On white

6.64
#9D2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9D2F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F82
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F82#FFFFFF#000000##FFFFFF
##9D2F821.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355184
Deuteranopia (green-blind)
#58637F
Tritanopia (blue-blind)
#A63354
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2f82;
/* rgb */ color: rgb(157, 47, 130);
/* oklch */ color: oklch(49.9% 0.171 339.2);
Tailwind
colors: {
  custom: {
    50: '#bd71a6',
    500: '#9d2f82',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f82;
$custom-light: #bd71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f82",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 314.727,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.49898,
    "c": 0.17101,
    "h": 339.2
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#9D2F82
secondary
#6BBC7F
accent
#DD6F4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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