#9F1151#9F1151

#9F1151 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.176 H 1.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9F1151
RGBrgb(159, 17, 81)
HSLhsl(333, 81%, 35%)
HSVhsv(333, 89%, 62%)
CMYKcmyk(0%, 89.3%, 49.1%, 37.6%)
CIE-LABlab(34.74, 57.29, 1.81)
CIE-LCHlch(34.74, 57.32, 1.81°)
OKLaboklab(46.05% 0.1762 0.0052)
OKLCHoklch(46.05% 0.176 1.7)
XYZxyz(15.9852, 8.3682, 8.5565)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1151 #119F5F
analogous
#9F1198 #9F1151 #9F1811
triadic
#9F1151 #519F11 #11519F
tetradic
#9F1151 #989F11 #119F5F #18119F
square
#9F1151 #989F11 #119F5F #18119F
split-complementary
#9F1151 #119F18 #11989F
monochromatic
#300519 #680B35 #9F1151 #D6176D #EB408D

Accessibility & contrast

On white

7.86
#9F1151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9F1151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1151
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1151#FFFFFF#000000##FFFFFF
##9F11511.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4152
Deuteranopia (green-blind)
#5F5B4E
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1151;
/* rgb */ color: rgb(159, 17, 81);
/* oklch */ color: oklch(46.1% 0.176 1.7);
Tailwind
colors: {
  custom: {
    50: '#c26581',
    500: '#9f1151',
    950: '#000000',
  },
}
SCSS
$custom: #9f1151;
$custom-light: #c26581;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1151",
  "rgb": {
    "r": 159,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 332.958,
    "s": 80.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46054,
    "c": 0.1763,
    "h": 1.7
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#9F1151
secondary
#42CA8D
accent
#F79E31
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #9F1151

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

Preview Lab → · Contrast checker → · Palette generator →

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