#9F1C83#9F1C83

#9F1C83 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.193 H 338.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9F1C83
RGBrgb(159, 28, 131)
HSLhsl(313, 70%, 37%)
HSVhsv(313, 82%, 62%)
CMYKcmyk(0%, 82.4%, 17.6%, 37.6%)
CIE-LABlab(37.56, 60.53, -25.69)
CIE-LCHlch(37.56, 65.75, 337.01°)
OKLaboklab(48.75% 0.1801 -0.0697)
OKLCHoklch(48.75% 0.193 338.9)
XYZxyz(18.8106, 9.8420, 22.3774)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C83 #1C9F38
analogous
#791C9F #9F1C83 #9F1C42
triadic
#9F1C83 #839F1C #1C839F
tetradic
#9F1C83 #9F791C #1C9F38 #1C429F
square
#9F1C83 #9F791C #1C9F38 #1C429F
split-complementary
#9F1C83 #429F1C #1C9F79
monochromatic
#370A2D #6B1358 #9F1C83 #D325AE #E154C3

Accessibility & contrast

On white

7.08
#9F1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F1C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C83
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C83#FFFFFF#000000##FFFFFF
##9F1C831.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#535F80
Tritanopia (blue-blind)
#A8234F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1c83;
/* rgb */ color: rgb(159, 28, 131);
/* oklch */ color: oklch(48.7% 0.193 338.9);
Tailwind
colors: {
  custom: {
    50: '#bf6aa7',
    500: '#9f1c83',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c83;
$custom-light: #bf6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c83",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 312.824,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.19315,
    "h": 338.9
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#9F1C83
secondary
#53C46B
accent
#ED613B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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