#9D1F3F#9D1F3F

#9D1F3F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 12.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9D1F3F
RGBrgb(157, 31, 63)
HSLhsl(345, 67%, 37%)
HSVhsv(345, 80%, 62%)
CMYKcmyk(0%, 80.3%, 59.9%, 38.4%)
CIE-LABlab(35.02, 52.03, 13.86)
CIE-LCHlch(35.02, 53.85, 14.92°)
OKLaboklab(46.04% 0.1571 0.0343)
OKLCHoklch(46.04% 0.161 12.3)
XYZxyz(15.2934, 8.5092, 5.5388)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F3F #1F9D7D
analogous
#9D1F7E #9D1F3F #9D3E1F
triadic
#9D1F3F #3F9D1F #1F3F9D
tetradic
#9D1F3F #7E9D1F #1F9D7D #3E1F9D
square
#9D1F3F #7E9D1F #1F9D7D #3E1F9D
split-complementary
#9D1F3F #1F9D3E #1F7E9D
monochromatic
#370B16 #6A152A #9D1F3F #D02954 #DE587A

Accessibility & contrast

On white

7.77
#9D1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9D1F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F3F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F3F#FFFFFF#000000##FFFFFF
##9D1F3F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43423F
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1f3f;
/* rgb */ color: rgb(157, 31, 63);
/* oklch */ color: oklch(46.0% 0.161 12.3);
Tailwind
colors: {
  custom: {
    50: '#c16873',
    500: '#9d1f3f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f3f;
$custom-light: #c16873;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f3f",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 344.762,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46036,
    "c": 0.16076,
    "h": 12.3
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#9D1F3F
secondary
#56C2A6
accent
#EABE3E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D1F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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