#9F1F6A#9F1F6A

#9F1F6A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.176 H 350.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9F1F6A
RGBrgb(159, 31, 106)
HSLhsl(325, 67%, 37%)
HSVhsv(325, 81%, 62%)
CMYKcmyk(0%, 80.5%, 33.3%, 37.6%)
CIE-LABlab(36.73, 56.56, -11.29)
CIE-LCHlch(36.73, 57.68, 348.71°)
OKLaboklab(47.79% 0.1734 -0.0294)
OKLCHoklch(47.79% 0.176 350.4)
XYZxyz(17.3906, 9.3936, 14.5302)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F6A #1F9F54
analogous
#941F9F #9F1F6A #9F1F2A
triadic
#9F1F6A #6A9F1F #1F6A9F
tetradic
#9F1F6A #9F941F #1F9F54 #1F2A9F
square
#9F1F6A #9F941F #1F9F54 #1F2A9F
split-complementary
#9F1F6A #2A9F1F #1F9F94
monochromatic
#390B26 #6C1548 #9F1F6A #D2298C #DF5AA8

Accessibility & contrast

On white

7.30
#9F1F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F1F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F6A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F6A#FFFFFF#000000##FFFFFF
##9F1F6A1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37486C
Deuteranopia (green-blind)
#5C5E67
Tritanopia (blue-blind)
#AB1442
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1f6a;
/* rgb */ color: rgb(159, 31, 106);
/* oklch */ color: oklch(47.8% 0.176 350.4);
Tailwind
colors: {
  custom: {
    50: '#c06a94',
    500: '#9f1f6a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f6a;
$custom-light: #c06a94;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f6a",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 324.844,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.17583,
    "h": 350.4
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#9F1F6A
secondary
#57C384
accent
#EA853E
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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