#9F1A4E#9F1A4E

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

Color values

HEX#9F1A4E
RGBrgb(159, 26, 78)
HSLhsl(337, 72%, 36%)
HSVhsv(337, 84%, 62%)
CMYKcmyk(0%, 83.6%, 50.9%, 37.6%)
CIE-LABlab(35.33, 55.10, 4.61)
CIE-LCHlch(35.33, 55.29, 4.78°)
OKLaboklab(46.46% 0.1689 0.0123)
OKLCHoklch(46.46% 0.169 4.2)
XYZxyz(16.0441, 8.6621, 8.0334)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A4E #1A9F6B
analogous
#9F1A91 #9F1A4E #9F281A
triadic
#9F1A4E #4E9F1A #1A4E9F
tetradic
#9F1A4E #919F1A #1A9F6B #281A9F
square
#9F1A4E #919F1A #1A9F6B #281A9F
split-complementary
#9F1A4E #1A9F28 #1A919F
monochromatic
#36091A #6A1134 #9F1A4E #D42368 #E3518A

Accessibility & contrast

On white

7.69
#9F1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A4E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A4E#FFFFFF#000000##FFFFFF
##9F1A4E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.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: #9f1a4e;
/* rgb */ color: rgb(159, 26, 78);
/* oklch */ color: oklch(46.5% 0.169 4.2);
Tailwind
colors: {
  custom: {
    50: '#c1677f',
    500: '#9f1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a4e;
$custom-light: #c1677f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a4e",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 336.541,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.16931,
    "h": 4.2
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#9F1A4E
secondary
#50C597
accent
#EFA839
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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