#9F1B3E#9F1B3E

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

Color values

HEX#9F1B3E
RGBrgb(159, 27, 62)
HSLhsl(344, 71%, 36%)
HSVhsv(344, 83%, 62%)
CMYKcmyk(0%, 83%, 61%, 37.6%)
CIE-LABlab(35.01, 53.65, 14.57)
CIE-LCHlch(35.01, 55.59, 15.19°)
OKLaboklab(46.1% 0.1618 0.0359)
OKLCHoklch(46.1% 0.166 12.5)
XYZxyz(15.5611, 8.5049, 5.3787)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B3E #1B9F7C
analogous
#9F1B80 #9F1B3E #9F3A1B
triadic
#9F1B3E #3E9F1B #1B3E9F
tetradic
#9F1B3E #809F1B #1B9F7C #3A1B9F
square
#9F1B3E #809F1B #1B9F7C #3A1B9F
split-complementary
#9F1B3E #1B9F3A #1B809F
monochromatic
#360915 #6B122A #9F1B3E #D32452 #E25379

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1B3E#FFFFFF#000000##FFFFFF
##9F1B3E1.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)
#42413E
Deuteranopia (green-blind)
#635C3B
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b3e;
/* rgb */ color: rgb(159, 27, 62);
/* oklch */ color: oklch(46.1% 0.166 12.5);
Tailwind
colors: {
  custom: {
    50: '#c26772',
    500: '#9f1b3e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b3e;
$custom-light: #c26772;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b3e",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 344.091,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.16575,
    "h": 12.5
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#9F1B3E
secondary
#51C5A6
accent
#EEBE3A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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