#9F2986#9F2986

#9F2986 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.182 H 337.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9F2986
RGBrgb(159, 41, 134)
HSLhsl(313, 59%, 39%)
HSVhsv(313, 74%, 62%)
CMYKcmyk(0%, 74.2%, 15.7%, 37.6%)
CIE-LABlab(39.04, 57.14, -25.23)
CIE-LCHlch(39.04, 62.46, 336.18°)
OKLaboklab(49.86% 0.169 -0.0685)
OKLCHoklch(49.86% 0.182 337.9)
XYZxyz(19.3945, 10.6799, 23.5896)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2986 #299F42
analogous
#7D299F #9F2986 #9F294B
triadic
#9F2986 #869F29 #29869F
tetradic
#9F2986 #9F7D29 #299F42 #294B9F
square
#9F2986 #9F7D29 #299F42 #294B9F
split-complementary
#9F2986 #4B9F29 #299F7D
monochromatic
#3E1034 #6E1C5D #9F2986 #CC39AD #D96AC1

Accessibility & contrast

On white

6.70
#9F2986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F2986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2986
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2986#FFFFFF#000000##FFFFFF
##9F29861.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5089
Deuteranopia (green-blind)
#566283
Tritanopia (blue-blind)
#A82F54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2986;
/* rgb */ color: rgb(159, 41, 134);
/* oklch */ color: oklch(49.9% 0.182 337.9);
Tailwind
colors: {
  custom: {
    50: '#bf6fa9',
    500: '#9f2986',
    950: '#000000',
  },
}
SCSS
$custom: #9f2986;
$custom-light: #bf6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2986",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 312.712,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49858,
    "c": 0.18232,
    "h": 337.9
  },
  "luminance": 0.10678
}

Semantic roles & 50–950 ramp

primary
#9F2986
secondary
#65BF78
accent
#E26746
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2986

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

Preview Lab → · Contrast checker → · Palette generator →

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