#9F286B#9F286B

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

Color values

HEX#9F286B
RGBrgb(159, 40, 107)
HSLhsl(326, 60%, 39%)
HSVhsv(326, 75%, 62%)
CMYKcmyk(0%, 74.8%, 32.7%, 37.6%)
CIE-LABlab(37.76, 53.88, -10.37)
CIE-LCHlch(37.76, 54.87, 349.11°)
OKLaboklab(48.55% 0.1648 -0.027)
OKLCHoklch(48.55% 0.167 350.7)
XYZxyz(17.7117, 9.9521, 14.8953)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F286B #289F5C
analogous
#98289F #9F286B #9F2830
triadic
#9F286B #6B9F28 #286B9F
tetradic
#9F286B #9F9828 #289F5C #28309F
square
#9F286B #9F9828 #289F5C #28309F
split-complementary
#9F286B #309F28 #289F98
monochromatic
#3D0F29 #6E1C4A #9F286B #CD378C #D968A8

Accessibility & contrast

On white

7.02
#9F286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F286B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F286B#FFFFFF#000000##FFFFFF
##9F286B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f286b;
/* rgb */ color: rgb(159, 40, 107);
/* oklch */ color: oklch(48.5% 0.167 350.7);
Tailwind
colors: {
  custom: {
    50: '#c06d95',
    500: '#9f286b',
    950: '#000000',
  },
}
SCSS
$custom: #9f286b;
$custom-light: #c06d95;
$custom-dark: #000000;
JSON
{
  "hex": "#9f286b",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 326.218,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.16697,
    "h": 350.7
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F286B

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

Preview Lab → · Contrast checker → · Palette generator →

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