#9F286F#9F286F

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

Color values

HEX#9F286F
RGBrgb(159, 40, 111)
HSLhsl(324, 60%, 39%)
HSVhsv(324, 75%, 62%)
CMYKcmyk(0%, 74.8%, 30.2%, 37.6%)
CIE-LABlab(37.91, 54.37, -12.65)
CIE-LCHlch(37.91, 55.82, 346.90°)
OKLaboklab(48.71% 0.1658 -0.0332)
OKLCHoklch(48.71% 0.169 348.7)
XYZxyz(17.9270, 10.0382, 16.0293)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F286F #289F58
analogous
#94289F #9F286F #9F2833
triadic
#9F286F #6F9F28 #286F9F
tetradic
#9F286F #9F9428 #289F58 #28339F
square
#9F286F #9F9428 #289F58 #28339F
split-complementary
#9F286F #339F28 #289F94
monochromatic
#3D0F2B #6E1C4D #9F286F #CD3791 #D968AC

Accessibility & contrast

On white

6.98
#9F286F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F286F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F286F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F286F#FFFFFF#000000##FFFFFF
##9F286F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#5D616C
Tritanopia (blue-blind)
#AB2248
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f286f;
/* rgb */ color: rgb(159, 40, 111);
/* oklch */ color: oklch(48.7% 0.169 348.7);
Tailwind
colors: {
  custom: {
    50: '#c06d98',
    500: '#9f286f',
    950: '#000000',
  },
}
SCSS
$custom: #9f286f;
$custom-light: #c06d98;
$custom-dark: #000000;
JSON
{
  "hex": "#9f286f",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 324.202,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48713,
    "c": 0.16909,
    "h": 348.7
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F286F

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

Preview Lab → · Contrast checker → · Palette generator →

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