#9F1F5D#9F1F5D

#9F1F5D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.170 H 356.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9F1F5D
RGBrgb(159, 31, 93)
HSLhsl(331, 67%, 37%)
HSVhsv(331, 81%, 62%)
CMYKcmyk(0%, 80.5%, 41.5%, 37.6%)
CIE-LABlab(36.26, 55.16, -3.71)
CIE-LCHlch(36.26, 55.28, 356.15°)
OKLaboklab(47.29% 0.1697 -0.0091)
OKLCHoklch(47.29% 0.17 356.9)
XYZxyz(16.7651, 9.1434, 11.2358)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F5D #1F9F61
analogous
#9F1F9D #9F1F5D #9F211F
triadic
#9F1F5D #5D9F1F #1F5D9F
tetradic
#9F1F5D #9D9F1F #1F9F61 #211F9F
square
#9F1F5D #9D9F1F #1F9F61 #211F9F
split-complementary
#9F1F5D #1F9F21 #1F9D9F
monochromatic
#390B21 #6C153F #9F1F5D #D2297B #DF5A9A

Accessibility & contrast

On white

7.43
#9F1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9F1F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F5D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F5D#FFFFFF#000000##FFFFFF
##9F1F5D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465E
Deuteranopia (green-blind)
#5F5E5A
Tritanopia (blue-blind)
#AC063B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1f5d;
/* rgb */ color: rgb(159, 31, 93);
/* oklch */ color: oklch(47.3% 0.170 356.9);
Tailwind
colors: {
  custom: {
    50: '#c1698a',
    500: '#9f1f5d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f5d;
$custom-light: #c1698a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f5d",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 330.938,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4729,
    "c": 0.16993,
    "h": 356.9
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#9F1F5D
secondary
#57C38F
accent
#EA973E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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