#9F1983#9F1983

#9F1983 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.196 H 338.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9F1983
RGBrgb(159, 25, 131)
HSLhsl(313, 73%, 36%)
HSVhsv(313, 84%, 62%)
CMYKcmyk(0%, 84.3%, 17.6%, 37.6%)
CIE-LABlab(37.31, 61.24, -26.07)
CIE-LCHlch(37.31, 66.56, 336.94°)
OKLaboklab(48.57% 0.1823 -0.0708)
OKLCHoklch(48.57% 0.196 338.8)
XYZxyz(18.7430, 9.7068, 22.3548)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1983 #199F35
analogous
#78199F #9F1983 #9F1940
triadic
#9F1983 #839F19 #19839F
tetradic
#9F1983 #9F7819 #199F35 #19409F
square
#9F1983 #9F7819 #199F35 #19409F
split-complementary
#9F1983 #409F19 #199F78
monochromatic
#35082C #6A1157 #9F1983 #D421AF #E34FC4

Accessibility & contrast

On white

7.14
#9F1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1983
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1983#FFFFFF#000000##FFFFFF
##9F19831.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#A8214F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1983;
/* rgb */ color: rgb(159, 25, 131);
/* oklch */ color: oklch(48.6% 0.196 338.8);
Tailwind
colors: {
  custom: {
    50: '#c069a7',
    500: '#9f1983',
    950: '#000000',
  },
}
SCSS
$custom: #9f1983;
$custom-light: #c069a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1983",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 312.537,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48569,
    "c": 0.19555,
    "h": 338.8
  },
  "luminance": 0.09705
}

Semantic roles & 50–950 ramp

primary
#9F1983
secondary
#4EC667
accent
#F05F38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1983

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

Preview Lab → · Contrast checker → · Palette generator →

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