#9D2F84#9D2F84

#9D2F84 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.172 H 338.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9D2F84
RGBrgb(157, 47, 132)
HSLhsl(314, 54%, 40%)
HSVhsv(314, 70%, 62%)
CMYKcmyk(0%, 70.1%, 15.9%, 38.4%)
CIE-LABlab(39.36, 54.18, -23.52)
CIE-LCHlch(39.36, 59.07, 336.53°)
OKLaboklab(50% 0.1602 -0.0637)
OKLCHoklch(50% 0.172 338.3)
XYZxyz(19.0864, 10.8688, 22.9180)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F84 #2F9D48
analogous
#7F2F9D #9D2F84 #9D2F4D
triadic
#9D2F84 #849D2F #2F849D
tetradic
#9D2F84 #9D7F2F #2F9D48 #2F4D9D
square
#9D2F84 #9D7F2F #2F9D48 #2F4D9D
split-complementary
#9D2F84 #4D9D2F #2F9D7F
monochromatic
#3F1335 #6E215C #9D2F84 #C743A9 #D572BE

Accessibility & contrast

On white

6.62
#9D2F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9D2F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F84
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F84#FFFFFF#000000##FFFFFF
##9D2F841.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345286
Deuteranopia (green-blind)
#576381
Tritanopia (blue-blind)
#A63455
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2f84;
/* rgb */ color: rgb(157, 47, 132);
/* oklch */ color: oklch(50.0% 0.172 338.3);
Tailwind
colors: {
  custom: {
    50: '#bd71a8',
    500: '#9d2f84',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f84;
$custom-light: #bd71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f84",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 313.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.17241,
    "h": 338.3
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#9D2F84
secondary
#6BBC7E
accent
#DD6C4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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