#9D1C2A#9D1C2A

#9D1C2A is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.163 H 21.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9D1C2A
RGBrgb(157, 28, 42)
HSLhsl(353, 70%, 36%)
HSVhsv(353, 82%, 62%)
CMYKcmyk(0%, 82.2%, 73.2%, 38.4%)
CIE-LABlab(34.33, 51.69, 26.43)
CIE-LCHlch(34.33, 58.05, 27.09°)
OKLaboklab(45.4% 0.1514 0.0604)
OKLCHoklch(45.4% 0.163 21.7)
XYZxyz(14.7395, 8.1681, 2.9906)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C2A #1C9D8F
analogous
#9D1C6B #9D1C2A #9D4F1C
triadic
#9D1C2A #2A9D1C #1C2A9D
tetradic
#9D1C2A #6B9D1C #1C9D8F #4F1C9D
square
#9D1C2A #6B9D1C #1C9D8F #4F1C9D
split-complementary
#9D1C2A #1C9D4F #1C6B9D
monochromatic
#35090E #69131C #9D1C2A #D12538 #E05362

Accessibility & contrast

On white

7.98
#9D1C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9D1C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C2A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C2A#FFFFFF#000000##FFFFFF
##9D1C2A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F29
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#AD0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1c2a;
/* rgb */ color: rgb(157, 28, 42);
/* oklch */ color: oklch(45.4% 0.163 21.7);
Tailwind
colors: {
  custom: {
    50: '#c26663',
    500: '#9d1c2a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c2a;
$custom-light: #c26663;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c2a",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 353.488,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.454,
    "c": 0.16303,
    "h": 21.7
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#9D1C2A
secondary
#51C3B7
accent
#EDD93B
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9D1C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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