#9F1747#9F1747

#9F1747 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.170 H 7.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9F1747
RGBrgb(159, 23, 71)
HSLhsl(339, 75%, 36%)
HSVhsv(339, 86%, 62%)
CMYKcmyk(0%, 85.5%, 55.3%, 37.6%)
CIE-LABlab(34.88, 55.26, 8.54)
CIE-LCHlch(34.88, 55.92, 8.78°)
OKLaboklab(46.07% 0.1686 0.0219)
OKLCHoklch(46.07% 0.17 7.4)
XYZxyz(15.7433, 8.4410, 6.7603)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1747 #179F6F
analogous
#9F178B #9F1747 #9F2B17
triadic
#9F1747 #479F17 #17479F
tetradic
#9F1747 #8B9F17 #179F6F #2B179F
square
#9F1747 #8B9F17 #179F6F #2B179F
split-complementary
#9F1747 #179F2B #178B9F
monochromatic
#340817 #6A0F2F #9F1747 #D41F5F #E54B82

Accessibility & contrast

On white

7.81
#9F1747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F1747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1747
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1747#FFFFFF#000000##FFFFFF
##9F17471.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4148
Deuteranopia (green-blind)
#615C44
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1747;
/* rgb */ color: rgb(159, 23, 71);
/* oklch */ color: oklch(46.1% 0.170 7.4);
Tailwind
colors: {
  custom: {
    50: '#c26679',
    500: '#9f1747',
    950: '#000000',
  },
}
SCSS
$custom: #9f1747;
$custom-light: #c26679;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1747",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 338.824,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4607,
    "c": 0.16996,
    "h": 7.4
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#9F1747
secondary
#4BC79B
accent
#F1AF36
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1747

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

Preview Lab → · Contrast checker → · Palette generator →

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