#9F1858#9F1858

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

Color values

HEX#9F1858
RGBrgb(159, 24, 88)
HSLhsl(332, 74%, 36%)
HSVhsv(332, 85%, 62%)
CMYKcmyk(0%, 84.9%, 44.7%, 37.6%)
CIE-LABlab(35.46, 56.47, -1.67)
CIE-LCHlch(35.46, 56.50, 358.31°)
OKLaboklab(46.65% 0.1739 -0.0037)
OKLCHoklch(46.65% 0.174 358.8)
XYZxyz(16.3875, 8.7310, 10.0530)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1858 #189F5F
analogous
#9F189B #9F1858 #9F1C18
triadic
#9F1858 #589F18 #18589F
tetradic
#9F1858 #9B9F18 #189F5F #1C189F
square
#9F1858 #9B9F18 #189F5F #1C189F
split-complementary
#9F1858 #189F1C #189B9F
monochromatic
#35081D #6A103B #9F1858 #D42075 #E44D95

Accessibility & contrast

On white

7.65
#9F1858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F1858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1858
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1858#FFFFFF#000000##FFFFFF
##9F18581.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4359
Deuteranopia (green-blind)
#5E5C55
Tritanopia (blue-blind)
#AD0037
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1858;
/* rgb */ color: rgb(159, 24, 88);
/* oklch */ color: oklch(46.7% 0.174 358.8);
Tailwind
colors: {
  custom: {
    50: '#c16787',
    500: '#9f1858',
    950: '#000000',
  },
}
SCSS
$custom: #9f1858;
$custom-light: #c16787;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1858",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 331.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46654,
    "c": 0.17394,
    "h": 358.8
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F1858

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

Preview Lab → · Contrast checker → · Palette generator →

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