#9F286D#9F286D

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

Color values

HEX#9F286D
RGBrgb(159, 40, 109)
HSLhsl(325, 60%, 39%)
HSVhsv(325, 75%, 62%)
CMYKcmyk(0%, 74.8%, 31.4%, 37.6%)
CIE-LABlab(37.83, 54.12, -11.51)
CIE-LCHlch(37.83, 55.33, 347.99°)
OKLaboklab(48.63% 0.1653 -0.0301)
OKLCHoklch(48.63% 0.168 349.7)
XYZxyz(17.8181, 9.9947, 15.4559)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F286D #289F5A
analogous
#96289F #9F286D #9F2832
triadic
#9F286D #6D9F28 #286D9F
tetradic
#9F286D #9F9628 #289F5A #28329F
square
#9F286D #9F9628 #289F5A #28329F
split-complementary
#9F286D #329F28 #289F96
monochromatic
#3D0F2A #6E1C4B #9F286D #CD378E #D968AA

Accessibility & contrast

On white

7.00
#9F286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9F286D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F286D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F286D#FFFFFF#000000##FFFFFF
##9F286D1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4C6F
Deuteranopia (green-blind)
#5E616A
Tritanopia (blue-blind)
#AB2147
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f286d;
/* rgb */ color: rgb(159, 40, 109);
/* oklch */ color: oklch(48.6% 0.168 349.7);
Tailwind
colors: {
  custom: {
    50: '#c06d96',
    500: '#9f286d',
    950: '#000000',
  },
}
SCSS
$custom: #9f286d;
$custom-light: #c06d96;
$custom-dark: #000000;
JSON
{
  "hex": "#9f286d",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 325.21,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.16801,
    "h": 349.7
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#9F286D
secondary
#64BF8A
accent
#E38745
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F286D

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

Preview Lab → · Contrast checker → · Palette generator →

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