#9F1856#9F1856

#9F1856 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.173 H 359.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9F1856
RGBrgb(159, 24, 86)
HSLhsl(332, 74%, 36%)
HSVhsv(332, 85%, 62%)
CMYKcmyk(0%, 84.9%, 45.9%, 37.6%)
CIE-LABlab(35.40, 56.29, -0.47)
CIE-LCHlch(35.40, 56.29, 359.52°)
OKLaboklab(46.59% 0.1732 -0.0006)
OKLCHoklch(46.59% 0.173 359.8)
XYZxyz(16.3058, 8.6983, 9.6226)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1856 #189F61
analogous
#9F1899 #9F1856 #9F1D18
triadic
#9F1856 #569F18 #18569F
tetradic
#9F1856 #999F18 #189F61 #1D189F
square
#9F1856 #999F18 #189F61 #1D189F
split-complementary
#9F1856 #189F1D #18999F
monochromatic
#35081C #6A1039 #9F1856 #D42073 #E44D93

Accessibility & contrast

On white

7.67
#9F1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F1856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1856
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1856#FFFFFF#000000##FFFFFF
##9F18561.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#5F5C53
Tritanopia (blue-blind)
#AD0035
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1856;
/* rgb */ color: rgb(159, 24, 86);
/* oklch */ color: oklch(46.6% 0.173 359.8);
Tailwind
colors: {
  custom: {
    50: '#c16785',
    500: '#9f1856',
    950: '#000000',
  },
}
SCSS
$custom: #9f1856;
$custom-light: #c16785;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1856",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 332.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.17324,
    "h": 359.8
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#9F1856
secondary
#4DC68E
accent
#F09B37
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1856

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

Preview Lab → · Contrast checker → · Palette generator →

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