#9F1B4E#9F1B4E

#9F1B4E is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.169 H 4.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9F1B4E
RGBrgb(159, 27, 78)
HSLhsl(337, 71%, 36%)
HSVhsv(337, 83%, 62%)
CMYKcmyk(0%, 83%, 50.9%, 37.6%)
CIE-LABlab(35.41, 54.85, 4.74)
CIE-LCHlch(35.41, 55.05, 4.93°)
OKLaboklab(46.52% 0.168 0.0126)
OKLCHoklch(46.52% 0.169 4.3)
XYZxyz(16.0666, 8.7071, 8.0409)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B4E #1B9F6C
analogous
#9F1B90 #9F1B4E #9F2A1B
triadic
#9F1B4E #4E9F1B #1B4E9F
tetradic
#9F1B4E #909F1B #1B9F6C #2A1B9F
square
#9F1B4E #909F1B #1B9F6C #2A1B9F
split-complementary
#9F1B4E #1B9F2A #1B909F
monochromatic
#36091B #6B1234 #9F1B4E #D32468 #E2538A

Accessibility & contrast

On white

7.66
#9F1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B4E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B4E#FFFFFF#000000##FFFFFF
##9F1B4E1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E434F
Deuteranopia (green-blind)
#615C4B
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1b4e;
/* rgb */ color: rgb(159, 27, 78);
/* oklch */ color: oklch(46.5% 0.169 4.3);
Tailwind
colors: {
  custom: {
    50: '#c1687f',
    500: '#9f1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b4e;
$custom-light: #c1687f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b4e",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 336.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4652,
    "c": 0.16851,
    "h": 4.3
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#9F1B4E
secondary
#51C598
accent
#EEA83A
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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