#9F1D40#9F1D40

#9F1D40 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.164 H 11.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9F1D40
RGBrgb(159, 29, 64)
HSLhsl(344, 69%, 37%)
HSVhsv(344, 82%, 62%)
CMYKcmyk(0%, 81.8%, 59.7%, 37.6%)
CIE-LABlab(35.25, 53.24, 13.59)
CIE-LCHlch(35.25, 54.95, 14.32°)
OKLaboklab(46.28% 0.1609 0.0337)
OKLCHoklch(46.28% 0.164 11.8)
XYZxyz(15.6645, 8.6222, 5.6889)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D40 #1D9F7C
analogous
#9F1D81 #9F1D40 #9F3B1D
triadic
#9F1D40 #409F1D #1D409F
tetradic
#9F1D40 #819F1D #1D9F7C #3B1D9F
square
#9F1D40 #819F1D #1D9F7C #3B1D9F
split-complementary
#9F1D40 #1D9F3B #1D819F
monochromatic
#370A16 #6B142B #9F1D40 #D32655 #E0567B

Accessibility & contrast

On white

7.71
#9F1D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9F1D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D40
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D40#FFFFFF#000000##FFFFFF
##9F1D401.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424240
Deuteranopia (green-blind)
#645C3D
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1d40;
/* rgb */ color: rgb(159, 29, 64);
/* oklch */ color: oklch(46.3% 0.164 11.8);
Tailwind
colors: {
  custom: {
    50: '#c26874',
    500: '#9f1d40',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d40;
$custom-light: #c26874;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d40",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 343.846,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46281,
    "c": 0.16438,
    "h": 11.8
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#9F1D40
secondary
#54C4A6
accent
#ECBD3C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1D40

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

Preview Lab → · Contrast checker → · Palette generator →

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