#9F1285#9F1285

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

Color values

HEX#9F1285
RGBrgb(159, 18, 133)
HSLhsl(311, 80%, 35%)
HSVhsv(311, 89%, 62%)
CMYKcmyk(0%, 88.7%, 16.4%, 37.6%)
CIE-LABlab(36.93, 62.92, -27.91)
CIE-LCHlch(36.93, 68.83, 336.08°)
OKLaboklab(48.33% 0.1867 -0.076)
OKLCHoklch(48.33% 0.202 337.9)
XYZxyz(18.7485, 9.4989, 23.0318)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1285 #129F2C
analogous
#73129F #9F1285 #9F123E
triadic
#9F1285 #859F12 #12859F
tetradic
#9F1285 #9F7312 #129F2C #123E9F
square
#9F1285 #9F7312 #129F2C #123E9F
split-complementary
#9F1285 #3E9F12 #129F73
monochromatic
#310629 #680C57 #9F1285 #D618B3 #EA42CB

Accessibility & contrast

On white

7.24
#9F1285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F1285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1285
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1285#FFFFFF#000000##FFFFFF
##9F12851.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A88
Deuteranopia (green-blind)
#4F5E82
Tritanopia (blue-blind)
#A81E4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1285;
/* rgb */ color: rgb(159, 18, 133);
/* oklch */ color: oklch(48.3% 0.202 337.9);
Tailwind
colors: {
  custom: {
    50: '#c067a9',
    500: '#9f1285',
    950: '#000000',
  },
}
SCSS
$custom: #9f1285;
$custom-light: #c067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1285",
  "rgb": {
    "r": 159,
    "g": 18,
    "b": 133
  },
  "hsl": {
    "h": 311.064,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48327,
    "c": 0.20159,
    "h": 337.9
  },
  "luminance": 0.09497
}

Semantic roles & 50–950 ramp

primary
#9F1285
secondary
#43CA5C
accent
#F65632
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1285

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

Preview Lab → · Contrast checker → · Palette generator →

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