#9F1F6B#9F1F6B

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

Color values

HEX#9F1F6B
RGBrgb(159, 31, 107)
HSLhsl(324, 67%, 37%)
HSVhsv(324, 81%, 62%)
CMYKcmyk(0%, 80.5%, 32.7%, 37.6%)
CIE-LABlab(36.77, 56.68, -11.86)
CIE-LCHlch(36.77, 57.91, 348.18°)
OKLaboklab(47.83% 0.1736 -0.031)
OKLCHoklch(47.83% 0.176 349.9)
XYZxyz(17.4429, 9.4145, 14.8057)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F6B #1F9F53
analogous
#931F9F #9F1F6B #9F1F2B
triadic
#9F1F6B #6B9F1F #1F6B9F
tetradic
#9F1F6B #9F931F #1F9F53 #1F2B9F
square
#9F1F6B #9F931F #1F9F53 #1F2B9F
split-complementary
#9F1F6B #2B9F1F #1F9F93
monochromatic
#390B26 #6C1549 #9F1F6B #D2298D #DF5AA9

Accessibility & contrast

On white

7.29
#9F1F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F6B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F6B#FFFFFF#000000##FFFFFF
##9F1F6B1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486D
Deuteranopia (green-blind)
#5B5F68
Tritanopia (blue-blind)
#AB1543
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1f6b;
/* rgb */ color: rgb(159, 31, 107);
/* oklch */ color: oklch(47.8% 0.176 349.9);
Tailwind
colors: {
  custom: {
    50: '#c06a95',
    500: '#9f1f6b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f6b;
$custom-light: #c06a95;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f6b",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 324.375,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47831,
    "c": 0.17633,
    "h": 349.9
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#9F1F6B
secondary
#57C383
accent
#EA843E
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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