#9F1A48#9F1A48

#9F1A48 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.168 H 7.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9F1A48
RGBrgb(159, 26, 72)
HSLhsl(339, 72%, 36%)
HSVhsv(339, 84%, 62%)
CMYKcmyk(0%, 83.6%, 54.7%, 37.6%)
CIE-LABlab(35.16, 54.62, 8.28)
CIE-LCHlch(35.16, 55.24, 8.62°)
OKLaboklab(46.28% 0.1666 0.0212)
OKLCHoklch(46.28% 0.168 7.3)
XYZxyz(15.8387, 8.5799, 6.9517)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A48 #1A9F71
analogous
#9F1A8B #9F1A48 #9F2F1A
triadic
#9F1A48 #489F1A #1A489F
tetradic
#9F1A48 #8B9F1A #1A9F71 #2F1A9F
square
#9F1A48 #8B9F1A #1A9F71 #2F1A9F
split-complementary
#9F1A48 #1A9F2F #1A8B9F
monochromatic
#360918 #6A1130 #9F1A48 #D42360 #E35183

Accessibility & contrast

On white

7.73
#9F1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A48
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A48#FFFFFF#000000##FFFFFF
##9F1A481.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4249
Deuteranopia (green-blind)
#625C45
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1a48;
/* rgb */ color: rgb(159, 26, 72);
/* oklch */ color: oklch(46.3% 0.168 7.3);
Tailwind
colors: {
  custom: {
    50: '#c2677a',
    500: '#9f1a48',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a48;
$custom-light: #c2677a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a48",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 339.248,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46283,
    "c": 0.16795,
    "h": 7.3
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#9F1A48
secondary
#50C59C
accent
#EFB039
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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