#9F1B46#9F1B46

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

Color values

HEX#9F1B46
RGBrgb(159, 27, 70)
HSLhsl(340, 71%, 36%)
HSVhsv(340, 83%, 62%)
CMYKcmyk(0%, 83%, 56%, 37.6%)
CIE-LABlab(35.20, 54.21, 9.63)
CIE-LCHlch(35.20, 55.06, 10.07°)
OKLaboklab(46.29% 0.165 0.0245)
OKLCHoklch(46.29% 0.167 8.4)
XYZxyz(15.7970, 8.5993, 6.6212)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B46 #1B9F74
analogous
#9F1B88 #9F1B46 #9F321B
triadic
#9F1B46 #469F1B #1B469F
tetradic
#9F1B46 #889F1B #1B9F74 #321B9F
square
#9F1B46 #889F1B #1B9F74 #321B9F
split-complementary
#9F1B46 #1B9F32 #1B889F
monochromatic
#360918 #6B122F #9F1B46 #D3245D #E25381

Accessibility & contrast

On white

7.72
#9F1B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B46
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B46#FFFFFF#000000##FFFFFF
##9F1B461.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404247
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1b46;
/* rgb */ color: rgb(159, 27, 70);
/* oklch */ color: oklch(46.3% 0.167 8.4);
Tailwind
colors: {
  custom: {
    50: '#c26779',
    500: '#9f1b46',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b46;
$custom-light: #c26779;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b46",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 340.455,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.16681,
    "h": 8.4
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#9F1B46
secondary
#51C59F
accent
#EEB33A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1B46

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

Preview Lab → · Contrast checker → · Palette generator →

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