#9F1847#9F1847

#9F1847 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.169 H 7.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9F1847
RGBrgb(159, 24, 71)
HSLhsl(339, 74%, 36%)
HSVhsv(339, 85%, 62%)
CMYKcmyk(0%, 84.9%, 55.3%, 37.6%)
CIE-LABlab(34.97, 55.03, 8.65)
CIE-LCHlch(34.97, 55.70, 8.93°)
OKLaboklab(46.13% 0.1678 0.0221)
OKLCHoklch(46.13% 0.169 7.5)
XYZxyz(15.7636, 8.4815, 6.7671)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1847 #189F70
analogous
#9F188A #9F1847 #9F2C18
triadic
#9F1847 #479F18 #18479F
tetradic
#9F1847 #8A9F18 #189F70 #2C189F
square
#9F1847 #8A9F18 #189F70 #2C189F
split-complementary
#9F1847 #189F2C #188A9F
monochromatic
#350818 #6A102F #9F1847 #D4205F #E44D82

Accessibility & contrast

On white

7.79
#9F1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9F1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1847
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1847#FFFFFF#000000##FFFFFF
##9F18471.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4148
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1847;
/* rgb */ color: rgb(159, 24, 71);
/* oklch */ color: oklch(46.1% 0.169 7.5);
Tailwind
colors: {
  custom: {
    50: '#c26679',
    500: '#9f1847',
    950: '#000000',
  },
}
SCSS
$custom: #9f1847;
$custom-light: #c26679;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1847",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 339.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.16925,
    "h": 7.5
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#9F1847
secondary
#4DC69C
accent
#F0B037
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1847

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

Preview Lab → · Contrast checker → · Palette generator →

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