#9F1A4F#9F1A4F

#9F1A4F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.170 H 3.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9F1A4F
RGBrgb(159, 26, 79)
HSLhsl(336, 72%, 36%)
HSVhsv(336, 84%, 62%)
CMYKcmyk(0%, 83.6%, 50.3%, 37.6%)
CIE-LABlab(35.35, 55.19, 4.00)
CIE-LCHlch(35.35, 55.33, 4.15°)
OKLaboklab(46.49% 0.1692 0.0107)
OKLCHoklch(46.49% 0.17 3.6)
XYZxyz(16.0802, 8.6765, 8.2236)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A4F #1A9F6A
analogous
#9F1A92 #9F1A4F #9F271A
triadic
#9F1A4F #4F9F1A #1A4F9F
tetradic
#9F1A4F #929F1A #1A9F6A #271A9F
square
#9F1A4F #929F1A #1A9F6A #271A9F
split-complementary
#9F1A4F #1A9F27 #1A929F
monochromatic
#36091B #6A1135 #9F1A4F #D42369 #E3518B

Accessibility & contrast

On white

7.68
#9F1A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F1A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A4F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A4F#FFFFFF#000000##FFFFFF
##9F1A4F1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.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: #9f1a4f;
/* rgb */ color: rgb(159, 26, 79);
/* oklch */ color: oklch(46.5% 0.170 3.6);
Tailwind
colors: {
  custom: {
    50: '#c16780',
    500: '#9f1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a4f;
$custom-light: #c16780;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a4f",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 336.09,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46485,
    "c": 0.16957,
    "h": 3.6
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#9F1A4F
secondary
#50C596
accent
#EFA639
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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