#9F286C#9F286C

#9F286C is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.167 H 350.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9F286C
RGBrgb(159, 40, 108)
HSLhsl(326, 60%, 39%)
HSVhsv(326, 75%, 62%)
CMYKcmyk(0%, 74.8%, 32.1%, 37.6%)
CIE-LABlab(37.79, 54.00, -10.94)
CIE-LCHlch(37.79, 55.10, 348.55°)
OKLaboklab(48.59% 0.165 -0.0285)
OKLCHoklch(48.59% 0.167 350.2)
XYZxyz(17.7646, 9.9733, 15.1740)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F286C #289F5B
analogous
#97289F #9F286C #9F2831
triadic
#9F286C #6C9F28 #286C9F
tetradic
#9F286C #9F9728 #289F5B #28319F
square
#9F286C #9F9728 #289F5B #28319F
split-complementary
#9F286C #319F28 #289F97
monochromatic
#3D0F2A #6E1C4B #9F286C #CD378D #D968A9

Accessibility & contrast

On white

7.01
#9F286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F286C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F286C#FFFFFF#000000##FFFFFF
##9F286C1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6E
Deuteranopia (green-blind)
#5E6169
Tritanopia (blue-blind)
#AB2046
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f286c;
/* rgb */ color: rgb(159, 40, 108);
/* oklch */ color: oklch(48.6% 0.167 350.2);
Tailwind
colors: {
  custom: {
    50: '#c06d96',
    500: '#9f286c',
    950: '#000000',
  },
}
SCSS
$custom: #9f286c;
$custom-light: #c06d96;
$custom-dark: #000000;
JSON
{
  "hex": "#9f286c",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 325.714,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48589,
    "c": 0.16749,
    "h": 350.2
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#9F286C
secondary
#64BF8B
accent
#E38945
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F286C

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

Preview Lab → · Contrast checker → · Palette generator →

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