#9F1B48#9F1B48

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

Color values

HEX#9F1B48
RGBrgb(159, 27, 72)
HSLhsl(340, 71%, 36%)
HSVhsv(340, 83%, 62%)
CMYKcmyk(0%, 83%, 54.7%, 37.6%)
CIE-LABlab(35.25, 54.36, 8.40)
CIE-LCHlch(35.25, 55.01, 8.79°)
OKLaboklab(46.35% 0.1658 0.0215)
OKLCHoklch(46.35% 0.167 7.4)
XYZxyz(15.8612, 8.6250, 6.9592)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B48 #1B9F72
analogous
#9F1B8A #9F1B48 #9F301B
triadic
#9F1B48 #489F1B #1B489F
tetradic
#9F1B48 #8A9F1B #1B9F72 #301B9F
square
#9F1B48 #8A9F1B #1B9F72 #301B9F
split-complementary
#9F1B48 #1B9F30 #1B8A9F
monochromatic
#360919 #6B1230 #9F1B48 #D32460 #E25383

Accessibility & contrast

On white

7.71
#9F1B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B48
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B48#FFFFFF#000000##FFFFFF
##9F1B481.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1b48;
/* rgb */ color: rgb(159, 27, 72);
/* oklch */ color: oklch(46.3% 0.167 7.4);
Tailwind
colors: {
  custom: {
    50: '#c2677a',
    500: '#9f1b48',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b48;
$custom-light: #c2677a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b48",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 339.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46348,
    "c": 0.16716,
    "h": 7.4
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#9F1B48
secondary
#51C59D
accent
#EEB03A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1B48

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

Preview Lab → · Contrast checker → · Palette generator →

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