#9F1C4F#9F1C4F

#9F1C4F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.168 H 3.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9F1C4F
RGBrgb(159, 28, 79)
HSLhsl(337, 70%, 37%)
HSVhsv(337, 82%, 62%)
CMYKcmyk(0%, 82.4%, 50.3%, 37.6%)
CIE-LABlab(35.53, 54.67, 4.26)
CIE-LCHlch(35.53, 54.84, 4.45°)
OKLaboklab(46.62% 0.1676 0.0114)
OKLCHoklch(46.62% 0.168 3.9)
XYZxyz(16.1261, 8.7682, 8.2389)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C4F #1C9F6C
analogous
#9F1C91 #9F1C4F #9F2B1C
triadic
#9F1C4F #4F9F1C #1C4F9F
tetradic
#9F1C4F #919F1C #1C9F6C #2B1C9F
square
#9F1C4F #919F1C #1C9F6C #2B1C9F
split-complementary
#9F1C4F #1C9F2B #1C919F
monochromatic
#370A1B #6B1335 #9F1C4F #D32569 #E1548B

Accessibility & contrast

On white

7.63
#9F1C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F1C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C4F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C4F#FFFFFF#000000##FFFFFF
##9F1C4F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4350
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1c4f;
/* rgb */ color: rgb(159, 28, 79);
/* oklch */ color: oklch(46.6% 0.168 3.9);
Tailwind
colors: {
  custom: {
    50: '#c16880',
    500: '#9f1c4f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c4f;
$custom-light: #c16880;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c4f",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 336.641,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46617,
    "c": 0.16795,
    "h": 3.9
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#9F1C4F
secondary
#53C498
accent
#EDA83B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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