#9F1857#9F1857

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

Color values

HEX#9F1857
RGBrgb(159, 24, 87)
HSLhsl(332, 74%, 36%)
HSVhsv(332, 85%, 62%)
CMYKcmyk(0%, 84.9%, 45.3%, 37.6%)
CIE-LABlab(35.43, 56.38, -1.07)
CIE-LCHlch(35.43, 56.39, 358.91°)
OKLaboklab(46.62% 0.1736 -0.0021)
OKLCHoklch(46.62% 0.174 359.3)
XYZxyz(16.3463, 8.7146, 9.8363)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1857 #189F60
analogous
#9F189A #9F1857 #9F1D18
triadic
#9F1857 #579F18 #18579F
tetradic
#9F1857 #9A9F18 #189F60 #1D189F
square
#9F1857 #9A9F18 #189F60 #1D189F
split-complementary
#9F1857 #189F1D #189A9F
monochromatic
#35081D #6A103A #9F1857 #D42074 #E44D94

Accessibility & contrast

On white

7.66
#9F1857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1857
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1857#FFFFFF#000000##FFFFFF
##9F18571.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4358
Deuteranopia (green-blind)
#5F5C54
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1857;
/* rgb */ color: rgb(159, 24, 87);
/* oklch */ color: oklch(46.6% 0.174 359.3);
Tailwind
colors: {
  custom: {
    50: '#c16786',
    500: '#9f1857',
    950: '#000000',
  },
}
SCSS
$custom: #9f1857;
$custom-light: #c16786;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1857",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 332,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46619,
    "c": 0.17358,
    "h": 359.3
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#9F1857
secondary
#4DC68D
accent
#F09A37
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1857

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

Preview Lab → · Contrast checker → · Palette generator →

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