#9C1F3F#9C1F3F

#9C1F3F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 12.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9C1F3F
RGBrgb(156, 31, 63)
HSLhsl(345, 67%, 37%)
HSVhsv(345, 80%, 61%)
CMYKcmyk(0%, 80.1%, 59.6%, 38.8%)
CIE-LABlab(34.82, 51.74, 13.56)
CIE-LCHlch(34.82, 53.49, 14.68°)
OKLaboklab(45.85% 0.1563 0.0336)
OKLCHoklch(45.85% 0.16 12.1)
XYZxyz(15.0990, 8.4090, 5.5297)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F3F #1F9C7C
analogous
#9C1F7E #9C1F3F #9C3E1F
triadic
#9C1F3F #3F9C1F #1F3F9C
tetradic
#9C1F3F #7E9C1F #1F9C7C #3E1F9C
square
#9C1F3F #7E9C1F #1F9C7C #3E1F9C
split-complementary
#9C1F3F #1F9C3E #1F7E9C
monochromatic
#360B16 #69152A #9C1F3F #CF2954 #DE587A

Accessibility & contrast

On white

7.83
#9C1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9C1F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F3F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F3F#FFFFFF#000000##FFFFFF
##9C1F3F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42423F
Deuteranopia (green-blind)
#625B3C
Tritanopia (blue-blind)
#AB002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9c1f3f;
/* rgb */ color: rgb(156, 31, 63);
/* oklch */ color: oklch(45.9% 0.160 12.1);
Tailwind
colors: {
  custom: {
    50: '#c06873',
    500: '#9c1f3f',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f3f;
$custom-light: #c06873;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f3f",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 344.64,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45852,
    "c": 0.15983,
    "h": 12.1
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#9C1F3F
secondary
#55C1A6
accent
#EABE3E
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130708
muted
#827A7B

Preview Lab

Preview with #9C1F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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