#9F286A#9F286A

#9F286A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.166 H 351.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9F286A
RGBrgb(159, 40, 106)
HSLhsl(327, 60%, 39%)
HSVhsv(327, 75%, 62%)
CMYKcmyk(0%, 74.8%, 33.3%, 37.6%)
CIE-LABlab(37.72, 53.76, -9.80)
CIE-LCHlch(37.72, 54.65, 349.67°)
OKLaboklab(48.51% 0.1645 -0.0254)
OKLCHoklch(48.51% 0.166 351.2)
XYZxyz(17.6594, 9.9312, 14.6198)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F286A #289F5D
analogous
#99289F #9F286A #9F282E
triadic
#9F286A #6A9F28 #286A9F
tetradic
#9F286A #9F9928 #289F5D #282E9F
square
#9F286A #9F9928 #289F5D #282E9F
split-complementary
#9F286A #2E9F28 #289F99
monochromatic
#3D0F29 #6E1C49 #9F286A #CD378A #D968A7

Accessibility & contrast

On white

7.03
#9F286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F286A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F286A#FFFFFF#000000##FFFFFF
##9F286A1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6C
Deuteranopia (green-blind)
#5E6067
Tritanopia (blue-blind)
#AB1F45
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f286a;
/* rgb */ color: rgb(159, 40, 106);
/* oklch */ color: oklch(48.5% 0.166 351.2);
Tailwind
colors: {
  custom: {
    50: '#c06d94',
    500: '#9f286a',
    950: '#000000',
  },
}
SCSS
$custom: #9f286a;
$custom-light: #c06d94;
$custom-dark: #000000;
JSON
{
  "hex": "#9f286a",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 326.723,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48509,
    "c": 0.16647,
    "h": 351.2
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#9F286A
secondary
#64BF8C
accent
#E38B45
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F286A

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

Preview Lab → · Contrast checker → · Palette generator →

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