#9F1D48#9F1D48

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

Color values

HEX#9F1D48
RGBrgb(159, 29, 72)
HSLhsl(340, 69%, 37%)
HSVhsv(340, 82%, 62%)
CMYKcmyk(0%, 81.8%, 54.7%, 37.6%)
CIE-LABlab(35.44, 53.83, 8.66)
CIE-LCHlch(35.44, 54.52, 9.14°)
OKLaboklab(46.49% 0.1641 0.0222)
OKLCHoklch(46.49% 0.166 7.7)
XYZxyz(15.9087, 8.7198, 6.9750)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D48 #1D9F74
analogous
#9F1D89 #9F1D48 #9F331D
triadic
#9F1D48 #489F1D #1D489F
tetradic
#9F1D48 #899F1D #1D9F74 #331D9F
square
#9F1D48 #899F1D #1D9F74 #331D9F
split-complementary
#9F1D48 #1D9F33 #1D899F
monochromatic
#370A19 #6B1431 #9F1D48 #D3265F #E05684

Accessibility & contrast

On white

7.65
#9F1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1D48
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D48#FFFFFF#000000##FFFFFF
##9F1D481.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#625D45
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1d48;
/* rgb */ color: rgb(159, 29, 72);
/* oklch */ color: oklch(46.5% 0.166 7.7);
Tailwind
colors: {
  custom: {
    50: '#c2687a',
    500: '#9f1d48',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d48;
$custom-light: #c2687a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d48",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 340.154,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.16554,
    "h": 7.7
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#9F1D48
secondary
#54C49F
accent
#ECB23C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1D48

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

Preview Lab → · Contrast checker → · Palette generator →

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