#9F1F54#9F1F54

#9F1F54 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.167 H 1.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9F1F54
RGBrgb(159, 31, 84)
HSLhsl(335, 67%, 37%)
HSVhsv(335, 81%, 62%)
CMYKcmyk(0%, 80.5%, 47.2%, 37.6%)
CIE-LABlab(35.97, 54.29, 1.66)
CIE-LCHlch(35.97, 54.31, 1.75°)
OKLaboklab(46.99% 0.1667 0.0049)
OKLCHoklch(46.99% 0.167 1.7)
XYZxyz(16.3897, 8.9932, 9.2586)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F54 #1F9F6A
analogous
#9F1F94 #9F1F54 #9F2A1F
triadic
#9F1F54 #549F1F #1F549F
tetradic
#9F1F54 #949F1F #1F9F6A #2A1F9F
square
#9F1F54 #949F1F #1F9F6A #2A1F9F
split-complementary
#9F1F54 #1F9F2A #1F949F
monochromatic
#390B1E #6C1539 #9F1F54 #D2296F #DF5A91

Accessibility & contrast

On white

7.50
#9F1F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9F1F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F54
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F54#FFFFFF#000000##FFFFFF
##9F1F541.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4555
Deuteranopia (green-blind)
#615D51
Tritanopia (blue-blind)
#AD0037
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1f54;
/* rgb */ color: rgb(159, 31, 84);
/* oklch */ color: oklch(47.0% 0.167 1.7);
Tailwind
colors: {
  custom: {
    50: '#c16983',
    500: '#9f1f54',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f54;
$custom-light: #c16983;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f54",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 335.156,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46986,
    "c": 0.16676,
    "h": 1.7
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#9F1F54
secondary
#57C396
accent
#EAA33E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1F54

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

Preview Lab → · Contrast checker → · Palette generator →

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