#9F1851#9F1851

#9F1851 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.172 H 2.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9F1851
RGBrgb(159, 24, 81)
HSLhsl(335, 74%, 36%)
HSVhsv(335, 85%, 62%)
CMYKcmyk(0%, 84.9%, 49.1%, 37.6%)
CIE-LABlab(35.24, 55.84, 2.54)
CIE-LCHlch(35.24, 55.90, 2.61°)
OKLaboklab(46.42% 0.1715 0.0071)
OKLCHoklch(46.42% 0.172 2.4)
XYZxyz(16.1113, 8.6206, 8.5985)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1851 #189F66
analogous
#9F1894 #9F1851 #9F2318
triadic
#9F1851 #519F18 #18519F
tetradic
#9F1851 #949F18 #189F66 #23189F
square
#9F1851 #949F18 #189F66 #23189F
split-complementary
#9F1851 #189F23 #18949F
monochromatic
#35081B #6A1036 #9F1851 #D4206C #E44D8D

Accessibility & contrast

On white

7.71
#9F1851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9F1851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1851
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1851#FFFFFF#000000##FFFFFF
##9F18511.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4252
Deuteranopia (green-blind)
#605C4E
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1851;
/* rgb */ color: rgb(159, 24, 81);
/* oklch */ color: oklch(46.4% 0.172 2.4);
Tailwind
colors: {
  custom: {
    50: '#c16781',
    500: '#9f1851',
    950: '#000000',
  },
}
SCSS
$custom: #9f1851;
$custom-light: #c16781;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1851",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 81
  },
  "hsl": {
    "h": 334.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46423,
    "c": 0.17166,
    "h": 2.4
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#9F1851
secondary
#4DC693
accent
#F0A237
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1851

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

Preview Lab → · Contrast checker → · Palette generator →

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