#9F1D3E#9F1D3E

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

Color values

HEX#9F1D3E
RGBrgb(159, 29, 62)
HSLhsl(345, 69%, 37%)
HSVhsv(345, 82%, 62%)
CMYKcmyk(0%, 81.8%, 61%, 37.6%)
CIE-LABlab(35.20, 53.11, 14.82)
CIE-LCHlch(35.20, 55.14, 15.60°)
OKLaboklab(46.23% 0.1601 0.0365)
OKLCHoklch(46.23% 0.164 12.8)
XYZxyz(15.6086, 8.5998, 5.3945)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D3E #1D9F7E
analogous
#9F1D7F #9F1D3E #9F3D1D
triadic
#9F1D3E #3E9F1D #1D3E9F
tetradic
#9F1D3E #7F9F1D #1D9F7E #3D1D9F
square
#9F1D3E #7F9F1D #1D9F7E #3D1D9F
split-complementary
#9F1D3E #1D9F3D #1D7F9F
monochromatic
#370A16 #6B142A #9F1D3E #D32652 #E05679

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1D3E#FFFFFF#000000##FFFFFF
##9F1D3E1.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)
#43423E
Deuteranopia (green-blind)
#645C3B
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1d3e;
/* rgb */ color: rgb(159, 29, 62);
/* oklch */ color: oklch(46.2% 0.164 12.8);
Tailwind
colors: {
  custom: {
    50: '#c26872',
    500: '#9f1d3e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d3e;
$custom-light: #c26872;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d3e",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 344.769,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.16419,
    "h": 12.8
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#9F1D3E
secondary
#54C4A7
accent
#ECBF3C
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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