#9C271D#9C271D

#9C271D is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.0% C 0.155 H 29.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9C271D
RGBrgb(156, 39, 29)
HSLhsl(5, 69%, 36%)
HSVhsv(5, 81%, 61%)
CMYKcmyk(0%, 75%, 81.4%, 38.8%)
CIE-LABlab(35.22, 47.35, 35.09)
CIE-LCHlch(35.22, 58.94, 36.54°)
OKLaboklab(45.98% 0.135 0.0758)
OKLCHoklch(45.98% 0.155 29.3)
XYZxyz(14.6593, 8.6100, 2.0522)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C271D #1D929C
analogous
#9C1D53 #9C271D #9C671D
triadic
#9C271D #1D9C27 #271D9C
tetradic
#9C271D #539C1D #1D929C #671D9C
square
#9C271D #539C1D #1D929C #671D9C
split-complementary
#9C271D #1D9C67 #1D539C
monochromatic
#350D0A #681A13 #9C271D #D03427 #DF5F54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C271D#FFFFFF#000000##FFFFFF
##9C271D1.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)
#4B421B
Deuteranopia (green-blind)
#675C17
Tritanopia (blue-blind)
#AC0026
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c271d;
/* rgb */ color: rgb(156, 39, 29);
/* oklch */ color: oklch(46.0% 0.155 29.3);
Tailwind
colors: {
  custom: {
    50: '#c26a5a',
    500: '#9c271d',
    950: '#000000',
  },
}
SCSS
$custom: #9c271d;
$custom-light: #c26a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c271d",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 4.724,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45977,
    "c": 0.1548,
    "h": 29.3
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#9C271D
secondary
#52BAC2
accent
#DEEB3C
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9C271D

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

Preview Lab → · Contrast checker → · Palette generator →

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