#9F1F56#9F1F56

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

Color values

HEX#9F1F56
RGBrgb(159, 31, 86)
HSLhsl(334, 67%, 37%)
HSVhsv(334, 81%, 62%)
CMYKcmyk(0%, 80.5%, 45.9%, 37.6%)
CIE-LABlab(36.03, 54.47, 0.46)
CIE-LCHlch(36.03, 54.47, 0.48°)
OKLaboklab(47.05% 0.1674 0.0018)
OKLCHoklch(47.05% 0.167 0.6)
XYZxyz(16.4691, 9.0250, 9.6771)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F56 #1F9F68
analogous
#9F1F96 #9F1F56 #9F281F
triadic
#9F1F56 #569F1F #1F569F
tetradic
#9F1F56 #969F1F #1F9F68 #281F9F
square
#9F1F56 #969F1F #1F9F68 #281F9F
split-complementary
#9F1F56 #1F9F28 #1F969F
monochromatic
#390B1F #6C153A #9F1F56 #D22972 #DF5A93

Accessibility & contrast

On white

7.49
#9F1F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F56
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F56#FFFFFF#000000##FFFFFF
##9F1F561.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4557
Deuteranopia (green-blind)
#605E53
Tritanopia (blue-blind)
#AD0038
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1f56;
/* rgb */ color: rgb(159, 31, 86);
/* oklch */ color: oklch(47.1% 0.167 0.6);
Tailwind
colors: {
  custom: {
    50: '#c16985',
    500: '#9f1f56',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f56;
$custom-light: #c16985;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f56",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 334.219,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47051,
    "c": 0.1674,
    "h": 0.6
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#9F1F56
secondary
#57C394
accent
#EAA03E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1F56

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

Preview Lab → · Contrast checker → · Palette generator →

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