#9F286E#9F286E

#9F286E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.169 H 349.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9F286E
RGBrgb(159, 40, 110)
HSLhsl(325, 60%, 39%)
HSVhsv(325, 75%, 62%)
CMYKcmyk(0%, 74.8%, 30.8%, 37.6%)
CIE-LABlab(37.87, 54.25, -12.09)
CIE-LCHlch(37.87, 55.58, 347.44°)
OKLaboklab(48.67% 0.1656 -0.0316)
OKLCHoklch(48.67% 0.169 349.2)
XYZxyz(17.8723, 10.0163, 15.7410)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F286E #289F59
analogous
#95289F #9F286E #9F2833
triadic
#9F286E #6E9F28 #286E9F
tetradic
#9F286E #9F9528 #289F59 #28339F
square
#9F286E #9F9528 #289F59 #28339F
split-complementary
#9F286E #339F28 #289F95
monochromatic
#3D0F2A #6E1C4C #9F286E #CD378F #D968AB

Accessibility & contrast

On white

6.99
#9F286E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F286E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F286E#FFFFFF#000000##FFFFFF
##9F286E1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f286e;
/* rgb */ color: rgb(159, 40, 110);
/* oklch */ color: oklch(48.7% 0.169 349.2);
Tailwind
colors: {
  custom: {
    50: '#c06d97',
    500: '#9f286e',
    950: '#000000',
  },
}
SCSS
$custom: #9f286e;
$custom-light: #c06d97;
$custom-dark: #000000;
JSON
{
  "hex": "#9f286e",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 324.706,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48671,
    "c": 0.16855,
    "h": 349.2
  },
  "luminance": 0.10014
}

Semantic roles & 50–950 ramp

primary
#9F286E
secondary
#64BF89
accent
#E38645
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F286E

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

Preview Lab → · Contrast checker → · Palette generator →

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