#9F1B47#9F1B47

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

Color values

HEX#9F1B47
RGBrgb(159, 27, 71)
HSLhsl(340, 71%, 36%)
HSVhsv(340, 83%, 62%)
CMYKcmyk(0%, 83%, 55.3%, 37.6%)
CIE-LABlab(35.23, 54.29, 9.01)
CIE-LCHlch(35.23, 55.03, 9.43°)
OKLaboklab(46.32% 0.1654 0.023)
OKLCHoklch(46.32% 0.167 7.9)
XYZxyz(15.8289, 8.6120, 6.7888)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B47 #1B9F73
analogous
#9F1B89 #9F1B47 #9F311B
triadic
#9F1B47 #479F1B #1B479F
tetradic
#9F1B47 #899F1B #1B9F73 #311B9F
square
#9F1B47 #899F1B #1B9F73 #311B9F
split-complementary
#9F1B47 #1B9F31 #1B899F
monochromatic
#360918 #6B1230 #9F1B47 #D3245E #E25382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1B47#FFFFFF#000000##FFFFFF
##9F1B471.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)
#404248
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1b47;
/* rgb */ color: rgb(159, 27, 71);
/* oklch */ color: oklch(46.3% 0.167 7.9);
Tailwind
colors: {
  custom: {
    50: '#c26779',
    500: '#9f1b47',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b47;
$custom-light: #c26779;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b47",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 340,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.16698,
    "h": 7.9
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#9F1B47
secondary
#51C59E
accent
#EEB23A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1B47

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

Preview Lab → · Contrast checker → · Palette generator →

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