#9F2D83#9F2D83

#9F2D83 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.176 H 339.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9F2D83
RGBrgb(159, 45, 131)
HSLhsl(315, 56%, 40%)
HSVhsv(315, 72%, 62%)
CMYKcmyk(0%, 71.7%, 17.6%, 37.6%)
CIE-LABlab(39.39, 55.30, -22.83)
CIE-LCHlch(39.39, 59.83, 337.57°)
OKLaboklab(50.07% 0.1643 -0.0617)
OKLCHoklch(50.07% 0.176 339.4)
XYZxyz(19.3337, 10.8882, 22.5517)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D83 #2D9F49
analogous
#822D9F #9F2D83 #9F2D4A
triadic
#9F2D83 #839F2D #2D839F
tetradic
#9F2D83 #9F822D #2D9F49 #2D4A9F
square
#9F2D83 #9F822D #2D9F49 #2D4A9F
split-complementary
#9F2D83 #4A9F2D #2D9F82
monochromatic
#401234 #6F205C #9F2D83 #C940A7 #D670BD

Accessibility & contrast

On white

6.61
#9F2D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9F2D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D83
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D83#FFFFFF#000000##FFFFFF
##9F2D831.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345185
Deuteranopia (green-blind)
#586380
Tritanopia (blue-blind)
#A83154
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2d83;
/* rgb */ color: rgb(159, 45, 131);
/* oklch */ color: oklch(50.1% 0.176 339.4);
Tailwind
colors: {
  custom: {
    50: '#bf70a7',
    500: '#9f2d83',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d83;
$custom-light: #bf70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d83",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 314.737,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.17554,
    "h": 339.4
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#9F2D83
secondary
#6ABE7F
accent
#DF6E49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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