#9F1A4C#9F1A4C

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

Color values

HEX#9F1A4C
RGBrgb(159, 26, 76)
HSLhsl(337, 72%, 36%)
HSVhsv(337, 84%, 62%)
CMYKcmyk(0%, 83.6%, 52.2%, 37.6%)
CIE-LABlab(35.27, 54.94, 5.83)
CIE-LCHlch(35.27, 55.24, 6.05°)
OKLaboklab(46.4% 0.1681 0.0153)
OKLCHoklch(46.4% 0.169 5.2)
XYZxyz(15.9735, 8.6338, 7.6615)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A4C #1A9F6D
analogous
#9F1A8F #9F1A4C #9F2B1A
triadic
#9F1A4C #4C9F1A #1A4C9F
tetradic
#9F1A4C #8F9F1A #1A9F6D #2B1A9F
square
#9F1A4C #8F9F1A #1A9F6D #2B1A9F
split-complementary
#9F1A4C #1A9F2B #1A8F9F
monochromatic
#36091A #6A1133 #9F1A4C #D42365 #E35188

Accessibility & contrast

On white

7.70
#9F1A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F1A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A4C
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A4C#FFFFFF#000000##FFFFFF
##9F1A4C1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424D
Deuteranopia (green-blind)
#615C49
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1a4c;
/* rgb */ color: rgb(159, 26, 76);
/* oklch */ color: oklch(46.4% 0.169 5.2);
Tailwind
colors: {
  custom: {
    50: '#c2677d',
    500: '#9f1a4c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a4c;
$custom-light: #c2677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a4c",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 337.444,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.16881,
    "h": 5.2
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#9F1A4C
secondary
#50C599
accent
#EFAA39
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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