#9F1F6F#9F1F6F

#9F1F6F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.178 H 347.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9F1F6F
RGBrgb(159, 31, 111)
HSLhsl(323, 67%, 37%)
HSVhsv(323, 81%, 62%)
CMYKcmyk(0%, 80.5%, 30.2%, 37.6%)
CIE-LABlab(36.93, 57.15, -14.15)
CIE-LCHlch(36.93, 58.88, 346.10°)
OKLaboklab(48% 0.1745 -0.0373)
OKLCHoklch(48% 0.178 347.9)
XYZxyz(17.6582, 9.5007, 15.9397)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F6F #1F9F4F
analogous
#8F1F9F #9F1F6F #9F1F2F
triadic
#9F1F6F #6F9F1F #1F6F9F
tetradic
#9F1F6F #9F8F1F #1F9F4F #1F2F9F
square
#9F1F6F #9F8F1F #1F9F4F #1F2F9F
split-complementary
#9F1F6F #2F9F1F #1F9F8F
monochromatic
#390B27 #6C154B #9F1F6F #D22993 #DF5AAD

Accessibility & contrast

On white

7.24
#9F1F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F1F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F6F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F6F#FFFFFF#000000##FFFFFF
##9F1F6F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#5A5F6C
Tritanopia (blue-blind)
#AB1845
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1f6f;
/* rgb */ color: rgb(159, 31, 111);
/* oklch */ color: oklch(48.0% 0.178 347.9);
Tailwind
colors: {
  custom: {
    50: '#c06a98',
    500: '#9f1f6f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f6f;
$custom-light: #c06a98;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f6f",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 322.5,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48,
    "c": 0.17845,
    "h": 347.9
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#9F1F6F
secondary
#57C37F
accent
#EA7E3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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