#9F1C5F#9F1C5F

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

Color values

HEX#9F1C5F
RGBrgb(159, 28, 95)
HSLhsl(329, 70%, 37%)
HSVhsv(329, 82%, 62%)
CMYKcmyk(0%, 82.4%, 40.3%, 37.6%)
CIE-LABlab(36.04, 56.18, -5.31)
CIE-LCHlch(36.04, 56.43, 354.60°)
OKLaboklab(47.15% 0.1729 -0.0133)
OKLCHoklch(47.15% 0.173 355.6)
XYZxyz(16.7801, 9.0298, 11.6836)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C5F #1C9F5C
analogous
#9E1C9F #9F1C5F #9F1C1E
triadic
#9F1C5F #5F9F1C #1C5F9F
tetradic
#9F1C5F #9F9E1C #1C9F5C #1C1E9F
square
#9F1C5F #9F9E1C #1C9F5C #1C1E9F
split-complementary
#9F1C5F #1E9F1C #1C9F9E
monochromatic
#370A21 #6B1340 #9F1C5F #D3257E #E1549C

Accessibility & contrast

On white

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

On black

2.81
#9F1C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F1C5F#FFFFFF#000000##FFFFFF
##9F1C5F1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394561
Deuteranopia (green-blind)
#5E5D5C
Tritanopia (blue-blind)
#AC023B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1c5f;
/* rgb */ color: rgb(159, 28, 95);
/* oklch */ color: oklch(47.2% 0.173 355.6);
Tailwind
colors: {
  custom: {
    50: '#c1688c',
    500: '#9f1c5f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c5f;
$custom-light: #c1688c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c5f",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 329.313,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47154,
    "c": 0.17342,
    "h": 355.6
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#9F1C5F
secondary
#53C48A
accent
#ED923B
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F1C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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