#9F1B4F#9F1B4F

#9F1B4F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.169 H 3.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9F1B4F
RGBrgb(159, 27, 79)
HSLhsl(336, 71%, 36%)
HSVhsv(336, 83%, 62%)
CMYKcmyk(0%, 83%, 50.3%, 37.6%)
CIE-LABlab(35.44, 54.93, 4.13)
CIE-LCHlch(35.44, 55.09, 4.30°)
OKLaboklab(46.55% 0.1684 0.0111)
OKLCHoklch(46.55% 0.169 3.8)
XYZxyz(16.1027, 8.7216, 8.2311)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B4F #1B9F6B
analogous
#9F1B91 #9F1B4F #9F291B
triadic
#9F1B4F #4F9F1B #1B4F9F
tetradic
#9F1B4F #919F1B #1B9F6B #291B9F
square
#9F1B4F #919F1B #1B9F6B #291B9F
split-complementary
#9F1B4F #1B9F29 #1B919F
monochromatic
#36091B #6B1235 #9F1B4F #D32469 #E2538B

Accessibility & contrast

On white

7.65
#9F1B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F1B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B4F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B4F#FFFFFF#000000##FFFFFF
##9F1B4F1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4350
Deuteranopia (green-blind)
#615C4C
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1b4f;
/* rgb */ color: rgb(159, 27, 79);
/* oklch */ color: oklch(46.6% 0.169 3.8);
Tailwind
colors: {
  custom: {
    50: '#c16880',
    500: '#9f1b4f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b4f;
$custom-light: #c16880;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b4f",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 336.364,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4655,
    "c": 0.16877,
    "h": 3.8
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#9F1B4F
secondary
#51C597
accent
#EEA73A
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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