#9F1F4C#9F1F4C

#9F1F4C is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.165 H 5.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9F1F4C
RGBrgb(159, 31, 76)
HSLhsl(339, 67%, 37%)
HSVhsv(339, 81%, 62%)
CMYKcmyk(0%, 80.5%, 52.2%, 37.6%)
CIE-LABlab(35.74, 53.59, 6.50)
CIE-LCHlch(35.74, 53.98, 6.91°)
OKLaboklab(46.74% 0.1638 0.0169)
OKLCHoklch(46.74% 0.165 5.9)
XYZxyz(16.0940, 8.8750, 7.7017)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F4C #1F9F72
analogous
#9F1F8C #9F1F4C #9F321F
triadic
#9F1F4C #4C9F1F #1F4C9F
tetradic
#9F1F4C #8C9F1F #1F9F72 #321F9F
square
#9F1F4C #8C9F1F #1F9F72 #321F9F
split-complementary
#9F1F4C #1F9F32 #1F8C9F
monochromatic
#390B1B #6C1534 #9F1F4C #D22964 #DF5A88

Accessibility & contrast

On white

7.57
#9F1F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F1F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F4C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F4C#FFFFFF#000000##FFFFFF
##9F1F4C1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444D
Deuteranopia (green-blind)
#625D49
Tritanopia (blue-blind)
#AE0033
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1f4c;
/* rgb */ color: rgb(159, 31, 76);
/* oklch */ color: oklch(46.7% 0.165 5.9);
Tailwind
colors: {
  custom: {
    50: '#c1697d',
    500: '#9f1f4c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f4c;
$custom-light: #c1697d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f4c",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 338.906,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46743,
    "c": 0.16464,
    "h": 5.9
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#9F1F4C
secondary
#57C39D
accent
#EAAE3E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F1F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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