#9F1D3F#9F1D3F

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

Color values

HEX#9F1D3F
RGBrgb(159, 29, 63)
HSLhsl(344, 69%, 37%)
HSVhsv(344, 82%, 62%)
CMYKcmyk(0%, 81.8%, 60.4%, 37.6%)
CIE-LABlab(35.22, 53.18, 14.21)
CIE-LCHlch(35.22, 55.04, 14.96°)
OKLaboklab(46.26% 0.1605 0.0351)
OKLCHoklch(46.26% 0.164 12.3)
XYZxyz(15.6363, 8.6109, 5.5404)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D3F #1D9F7D
analogous
#9F1D80 #9F1D3F #9F3C1D
triadic
#9F1D3F #3F9F1D #1D3F9F
tetradic
#9F1D3F #809F1D #1D9F7D #3C1D9F
square
#9F1D3F #809F1D #1D9F7D #3C1D9F
split-complementary
#9F1D3F #1D9F3C #1D809F
monochromatic
#370A16 #6B142A #9F1D3F #D32654 #E0567A

Accessibility & contrast

On white

7.72
#9F1D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1D3F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D3F#FFFFFF#000000##FFFFFF
##9F1D3F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43423F
Deuteranopia (green-blind)
#645C3C
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1d3f;
/* rgb */ color: rgb(159, 29, 63);
/* oklch */ color: oklch(46.3% 0.164 12.3);
Tailwind
colors: {
  custom: {
    50: '#c26873',
    500: '#9f1d3f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d3f;
$custom-light: #c26873;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d3f",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 344.308,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.16428,
    "h": 12.3
  },
  "luminance": 0.08609
}

Semantic roles & 50–950 ramp

primary
#9F1D3F
secondary
#54C4A6
accent
#ECBE3C
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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