#9F1286#9F1286

#9F1286 is a mid, highly saturated pink. Relative luminance 0.095; OKLCH L 48.4% C 0.202 H 337.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9F1286
RGBrgb(159, 18, 134)
HSLhsl(311, 80%, 35%)
HSVhsv(311, 89%, 62%)
CMYKcmyk(0%, 88.7%, 15.7%, 37.6%)
CIE-LABlab(36.98, 63.06, -28.45)
CIE-LCHlch(36.98, 69.18, 335.72°)
OKLaboklab(48.38% 0.1868 -0.0775)
OKLCHoklch(48.38% 0.202 337.5)
XYZxyz(18.8179, 9.5267, 23.3974)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1286 #129F2B
analogous
#71129F #9F1286 #9F1240
triadic
#9F1286 #869F12 #12869F
tetradic
#9F1286 #9F7112 #129F2B #12409F
square
#9F1286 #9F7112 #129F2B #12409F
split-complementary
#9F1286 #409F12 #129F71
monochromatic
#310629 #680C58 #9F1286 #D618B4 #EA42CC

Accessibility & contrast

On white

7.23
#9F1286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9F1286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1286
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1286#FFFFFF#000000##FFFFFF
##9F12861.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A89
Deuteranopia (green-blind)
#4F5E83
Tritanopia (blue-blind)
#A81F4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1286;
/* rgb */ color: rgb(159, 18, 134);
/* oklch */ color: oklch(48.4% 0.202 337.5);
Tailwind
colors: {
  custom: {
    50: '#c067a9',
    500: '#9f1286',
    950: '#000000',
  },
}
SCSS
$custom: #9f1286;
$custom-light: #c067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1286",
  "rgb": {
    "r": 159,
    "g": 18,
    "b": 134
  },
  "hsl": {
    "h": 310.638,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48381,
    "c": 0.20224,
    "h": 337.5
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#9F1286
secondary
#43CA5B
accent
#F65532
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1286

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

Preview Lab → · Contrast checker → · Palette generator →

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