#9F1D47#9F1D47

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

Color values

HEX#9F1D47
RGBrgb(159, 29, 71)
HSLhsl(341, 69%, 37%)
HSVhsv(341, 82%, 62%)
CMYKcmyk(0%, 81.8%, 55.3%, 37.6%)
CIE-LABlab(35.41, 53.75, 9.28)
CIE-LCHlch(35.41, 54.55, 9.79°)
OKLaboklab(46.46% 0.1637 0.0237)
OKLCHoklch(46.46% 0.165 8.2)
XYZxyz(15.8763, 8.7069, 6.8046)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D47 #1D9F75
analogous
#9F1D88 #9F1D47 #9F341D
triadic
#9F1D47 #479F1D #1D479F
tetradic
#9F1D47 #889F1D #1D9F75 #341D9F
square
#9F1D47 #889F1D #1D9F75 #341D9F
split-complementary
#9F1D47 #1D9F34 #1D889F
monochromatic
#370A19 #6B1430 #9F1D47 #D3265E #E05683

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1D47#FFFFFF#000000##FFFFFF
##9F1D471.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)
#414348
Deuteranopia (green-blind)
#635D44
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1d47;
/* rgb */ color: rgb(159, 29, 71);
/* oklch */ color: oklch(46.5% 0.165 8.2);
Tailwind
colors: {
  custom: {
    50: '#c26879',
    500: '#9f1d47',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d47;
$custom-light: #c26879;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d47",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 340.615,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.16536,
    "h": 8.2
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#9F1D47
secondary
#54C4A0
accent
#ECB33C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1D47

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

Preview Lab → · Contrast checker → · Palette generator →

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