#9F1B3D#9F1B3D

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

Color values

HEX#9F1B3D
RGBrgb(159, 27, 61)
HSLhsl(345, 71%, 36%)
HSVhsv(345, 83%, 62%)
CMYKcmyk(0%, 83%, 61.6%, 37.6%)
CIE-LABlab(34.99, 53.58, 15.19)
CIE-LCHlch(34.99, 55.69, 15.83°)
OKLaboklab(46.07% 0.1614 0.0373)
OKLCHoklch(46.07% 0.166 13)
XYZxyz(15.5340, 8.4941, 5.2356)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B3D #1B9F7D
analogous
#9F1B7F #9F1B3D #9F3B1B
triadic
#9F1B3D #3D9F1B #1B3D9F
tetradic
#9F1B3D #7F9F1B #1B9F7D #3B1B9F
square
#9F1B3D #7F9F1B #1B9F7D #3B1B9F
split-complementary
#9F1B3D #1B9F3B #1B7F9F
monochromatic
#360915 #6B1229 #9F1B3D #D32451 #E25378

Accessibility & contrast

On white

7.78
#9F1B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9F1B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B3D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B3D#FFFFFF#000000##FFFFFF
##9F1B3D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413D
Deuteranopia (green-blind)
#645C39
Tritanopia (blue-blind)
#AF002A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b3d;
/* rgb */ color: rgb(159, 27, 61);
/* oklch */ color: oklch(46.1% 0.166 13.0);
Tailwind
colors: {
  custom: {
    50: '#c26772',
    500: '#9f1b3d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b3d;
$custom-light: #c26772;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b3d",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 61
  },
  "hsl": {
    "h": 344.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46072,
    "c": 0.16567,
    "h": 13
  },
  "luminance": 0.08492
}

Semantic roles & 50–950 ramp

primary
#9F1B3D
secondary
#51C5A7
accent
#EEBF3A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F1B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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