#9F1B3F#9F1B3F

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

Color values

HEX#9F1B3F
RGBrgb(159, 27, 63)
HSLhsl(344, 71%, 36%)
HSVhsv(344, 83%, 62%)
CMYKcmyk(0%, 83%, 60.4%, 37.6%)
CIE-LABlab(35.04, 53.71, 13.95)
CIE-LCHlch(35.04, 55.49, 14.56°)
OKLaboklab(46.12% 0.1622 0.0345)
OKLCHoklch(46.12% 0.166 12)
XYZxyz(15.5888, 8.5160, 5.5246)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B3F #1B9F7B
analogous
#9F1B81 #9F1B3F #9F391B
triadic
#9F1B3F #3F9F1B #1B3F9F
tetradic
#9F1B3F #819F1B #1B9F7B #391B9F
square
#9F1B3F #819F1B #1B9F7B #391B9F
split-complementary
#9F1B3F #1B9F39 #1B819F
monochromatic
#360916 #6B122A #9F1B3F #D32454 #E2537A

Accessibility & contrast

On white

7.77
#9F1B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B3F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B3F#FFFFFF#000000##FFFFFF
##9F1B3F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413F
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b3f;
/* rgb */ color: rgb(159, 27, 63);
/* oklch */ color: oklch(46.1% 0.166 12.0);
Tailwind
colors: {
  custom: {
    50: '#c26773',
    500: '#9f1b3f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b3f;
$custom-light: #c26773;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b3f",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 343.636,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46118,
    "c": 0.16585,
    "h": 12
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#9F1B3F
secondary
#51C5A5
accent
#EEBD3A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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