#9F1284#9F1284

#9F1284 is a mid, highly saturated pink. Relative luminance 0.095; OKLCH L 48.3% C 0.201 H 338.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9F1284
RGBrgb(159, 18, 132)
HSLhsl(311, 80%, 35%)
HSVhsv(311, 89%, 62%)
CMYKcmyk(0%, 88.7%, 17%, 37.6%)
CIE-LABlab(36.88, 62.79, -27.37)
CIE-LCHlch(36.88, 68.49, 336.44°)
OKLaboklab(48.27% 0.1867 -0.0744)
OKLCHoklch(48.27% 0.201 338.3)
XYZxyz(18.6797, 9.4714, 22.6697)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1284 #129F2D
analogous
#73129F #9F1284 #9F123E
triadic
#9F1284 #849F12 #12849F
tetradic
#9F1284 #9F7312 #129F2D #123E9F
square
#9F1284 #9F7312 #129F2D #123E9F
split-complementary
#9F1284 #3E9F12 #129F73
monochromatic
#310629 #680C56 #9F1284 #D618B2 #EA42C9

Accessibility & contrast

On white

7.26
#9F1284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9F1284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1284
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1284#FFFFFF#000000##FFFFFF
##9F12841.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4987
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#A81D4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1284;
/* rgb */ color: rgb(159, 18, 132);
/* oklch */ color: oklch(48.3% 0.201 338.3);
Tailwind
colors: {
  custom: {
    50: '#c067a8',
    500: '#9f1284',
    950: '#000000',
  },
}
SCSS
$custom: #9f1284;
$custom-light: #c067a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1284",
  "rgb": {
    "r": 159,
    "g": 18,
    "b": 132
  },
  "hsl": {
    "h": 311.489,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48274,
    "c": 0.20095,
    "h": 338.3
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#9F1284
secondary
#43CA5D
accent
#F65732
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1284

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

Preview Lab → · Contrast checker → · Palette generator →

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