#9F1B4B#9F1B4B

#9F1B4B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.168 H 5.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9F1B4B
RGBrgb(159, 27, 75)
HSLhsl(338, 71%, 36%)
HSVhsv(338, 83%, 62%)
CMYKcmyk(0%, 83%, 52.8%, 37.6%)
CIE-LABlab(35.33, 54.60, 6.56)
CIE-LCHlch(35.33, 54.99, 6.86°)
OKLaboklab(46.43% 0.1669 0.0171)
OKLCHoklch(46.43% 0.168 5.8)
XYZxyz(15.9615, 8.6651, 7.4873)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B4B #1B9F6F
analogous
#9F1B8D #9F1B4B #9F2D1B
triadic
#9F1B4B #4B9F1B #1B4B9F
tetradic
#9F1B4B #8D9F1B #1B9F6F #2D1B9F
square
#9F1B4B #8D9F1B #1B9F6F #2D1B9F
split-complementary
#9F1B4B #1B9F2D #1B8D9F
monochromatic
#36091A #6B1232 #9F1B4B #D32464 #E25387

Accessibility & contrast

On white

7.68
#9F1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F1B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B4B
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B4B#FFFFFF#000000##FFFFFF
##9F1B4B1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.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: #9f1b4b;
/* rgb */ color: rgb(159, 27, 75);
/* oklch */ color: oklch(46.4% 0.168 5.8);
Tailwind
colors: {
  custom: {
    50: '#c2677d',
    500: '#9f1b4b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b4b;
$custom-light: #c2677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b4b",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 338.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.16779,
    "h": 5.8
  },
  "luminance": 0.08663
}

Semantic roles & 50–950 ramp

primary
#9F1B4B
secondary
#51C59B
accent
#EEAC3A
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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