#9F1C47#9F1C47

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

Color values

HEX#9F1C47
RGBrgb(159, 28, 71)
HSLhsl(340, 70%, 37%)
HSVhsv(340, 82%, 62%)
CMYKcmyk(0%, 82.4%, 55.3%, 37.6%)
CIE-LABlab(35.32, 54.02, 9.14)
CIE-LCHlch(35.32, 54.79, 9.61°)
OKLaboklab(46.39% 0.1645 0.0233)
OKLCHoklch(46.39% 0.166 8.1)
XYZxyz(15.8522, 8.6587, 6.7966)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C47 #1C9F74
analogous
#9F1C89 #9F1C47 #9F331C
triadic
#9F1C47 #479F1C #1C479F
tetradic
#9F1C47 #899F1C #1C9F74 #331C9F
square
#9F1C47 #899F1C #1C9F74 #331C9F
split-complementary
#9F1C47 #1C9F33 #1C899F
monochromatic
#370A19 #6B1330 #9F1C47 #D3255E #E15483

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1C47#FFFFFF#000000##FFFFFF
##9F1C471.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)
#414248
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1c47;
/* rgb */ color: rgb(159, 28, 71);
/* oklch */ color: oklch(46.4% 0.166 8.1);
Tailwind
colors: {
  custom: {
    50: '#c26879',
    500: '#9f1c47',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c47;
$custom-light: #c26879;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c47",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 340.305,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.16619,
    "h": 8.1
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#9F1C47
secondary
#53C49F
accent
#EDB23B
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1C47

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

Preview Lab → · Contrast checker → · Palette generator →

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