#9F1C48#9F1C48

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

Color values

HEX#9F1C48
RGBrgb(159, 28, 72)
HSLhsl(340, 70%, 37%)
HSVhsv(340, 82%, 62%)
CMYKcmyk(0%, 82.4%, 54.7%, 37.6%)
CIE-LABlab(35.34, 54.10, 8.53)
CIE-LCHlch(35.34, 54.77, 8.96°)
OKLaboklab(46.42% 0.1649 0.0219)
OKLCHoklch(46.42% 0.166 7.6)
XYZxyz(15.8846, 8.6716, 6.9670)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C48 #1C9F73
analogous
#9F1C8A #9F1C48 #9F321C
triadic
#9F1C48 #489F1C #1C489F
tetradic
#9F1C48 #8A9F1C #1C9F73 #321C9F
square
#9F1C48 #8A9F1C #1C9F73 #321C9F
split-complementary
#9F1C48 #1C9F32 #1C8A9F
monochromatic
#370A19 #6B1330 #9F1C48 #D32560 #E15484

Accessibility & contrast

On white

7.68
#9F1C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1C48
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C48#FFFFFF#000000##FFFFFF
##9F1C481.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1c48;
/* rgb */ color: rgb(159, 28, 72);
/* oklch */ color: oklch(46.4% 0.166 7.6);
Tailwind
colors: {
  custom: {
    50: '#c2687a',
    500: '#9f1c48',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c48;
$custom-light: #c2687a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c48",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 339.847,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.16636,
    "h": 7.6
  },
  "luminance": 0.08669
}

Semantic roles & 50–950 ramp

primary
#9F1C48
secondary
#53C49E
accent
#EDB13B
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1C48

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

Preview Lab → · Contrast checker → · Palette generator →

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