#9F1A4B#9F1A4B

#9F1A4B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.169 H 5.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9F1A4B
RGBrgb(159, 26, 75)
HSLhsl(338, 72%, 36%)
HSVhsv(338, 84%, 62%)
CMYKcmyk(0%, 83.6%, 52.8%, 37.6%)
CIE-LABlab(35.24, 54.85, 6.44)
CIE-LCHlch(35.24, 55.23, 6.69°)
OKLaboklab(46.37% 0.1678 0.0168)
OKLCHoklch(46.37% 0.169 5.7)
XYZxyz(15.9390, 8.6200, 7.4798)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A4B #1A9F6E
analogous
#9F1A8E #9F1A4B #9F2C1A
triadic
#9F1A4B #4B9F1A #1A4B9F
tetradic
#9F1A4B #8E9F1A #1A9F6E #2C1A9F
square
#9F1A4B #8E9F1A #1A9F6E #2C1A9F
split-complementary
#9F1A4B #1A9F2C #1A8E9F
monochromatic
#360919 #6A1132 #9F1A4B #D42364 #E35187

Accessibility & contrast

On white

7.71
#9F1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9F1A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A4B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A4B#FFFFFF#000000##FFFFFF
##9F1A4B1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1a4b;
/* rgb */ color: rgb(159, 26, 75);
/* oklch */ color: oklch(46.4% 0.169 5.7);
Tailwind
colors: {
  custom: {
    50: '#c2677d',
    500: '#9f1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a4b;
$custom-light: #c2677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a4b",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 337.895,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.16859,
    "h": 5.7
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#9F1A4B
secondary
#50C59A
accent
#EFAC39
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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