#9F1749#9F1749

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

Color values

HEX#9F1749
RGBrgb(159, 23, 73)
HSLhsl(338, 75%, 36%)
HSVhsv(338, 86%, 62%)
CMYKcmyk(0%, 85.5%, 54.1%, 37.6%)
CIE-LABlab(34.94, 55.41, 7.31)
CIE-LCHlch(34.94, 55.89, 7.51°)
OKLaboklab(46.13% 0.1693 0.0189)
OKLCHoklch(46.13% 0.17 6.4)
XYZxyz(15.8086, 8.4671, 7.1039)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1749 #179F6D
analogous
#9F178D #9F1749 #9F2917
triadic
#9F1749 #499F17 #17499F
tetradic
#9F1749 #8D9F17 #179F6D #29179F
square
#9F1749 #8D9F17 #179F6D #29179F
split-complementary
#9F1749 #179F29 #178D9F
monochromatic
#340818 #6A0F30 #9F1749 #D41F62 #E54B84

Accessibility & contrast

On white

7.80
#9F1749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1749
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1749#FFFFFF#000000##FFFFFF
##9F17491.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E414A
Deuteranopia (green-blind)
#615C46
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1749;
/* rgb */ color: rgb(159, 23, 73);
/* oklch */ color: oklch(46.1% 0.170 6.4);
Tailwind
colors: {
  custom: {
    50: '#c2667b',
    500: '#9f1749',
    950: '#000000',
  },
}
SCSS
$custom: #9f1749;
$custom-light: #c2667b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1749",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 337.941,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.17037,
    "h": 6.4
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#9F1749
secondary
#4BC799
accent
#F1AD36
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1749

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

Preview Lab → · Contrast checker → · Palette generator →

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