#9F2C83#9F2C83

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

Color values

HEX#9F2C83
RGBrgb(159, 44, 131)
HSLhsl(315, 57%, 40%)
HSVhsv(315, 72%, 62%)
CMYKcmyk(0%, 72.3%, 17.6%, 37.6%)
CIE-LABlab(39.26, 55.66, -23.03)
CIE-LCHlch(39.26, 60.24, 337.52°)
OKLaboklab(49.98% 0.1654 -0.0622)
OKLCHoklch(49.98% 0.177 339.4)
XYZxyz(19.2960, 10.8128, 22.5392)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C83 #2C9F48
analogous
#822C9F #9F2C83 #9F2C49
triadic
#9F2C83 #839F2C #2C839F
tetradic
#9F2C83 #9F822C #2C9F48 #2C499F
square
#9F2C83 #9F822C #2C9F48 #2C499F
split-complementary
#9F2C83 #499F2C #2C9F82
monochromatic
#3F1134 #6F1F5C #9F2C83 #CA3EA8 #D76EBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2C83#FFFFFF#000000##FFFFFF
##9F2C831.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)
#335185
Deuteranopia (green-blind)
#586380
Tritanopia (blue-blind)
#A83054
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2c83;
/* rgb */ color: rgb(159, 44, 131);
/* oklch */ color: oklch(50.0% 0.177 339.4);
Tailwind
colors: {
  custom: {
    50: '#bf70a7',
    500: '#9f2c83',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c83;
$custom-light: #bf70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c83",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 314.609,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.17675,
    "h": 339.4
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#9F2C83
secondary
#69BE7E
accent
#E06D48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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