#9C271C#9C271C

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

Color values

HEX#9C271C
RGBrgb(156, 39, 28)
HSLhsl(5, 70%, 36%)
HSVhsv(5, 82%, 61%)
CMYKcmyk(0%, 75%, 82.1%, 38.8%)
CIE-LABlab(35.21, 47.32, 35.63)
CIE-LCHlch(35.21, 59.24, 36.98°)
OKLaboklab(45.97% 0.1347 0.0766)
OKLCHoklch(45.97% 0.155 29.6)
XYZxyz(14.6472, 8.6051, 1.9881)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C271C #1C919C
analogous
#9C1C51 #9C271C #9C671C
triadic
#9C271C #1C9C27 #271C9C
tetradic
#9C271C #519C1C #1C919C #671C9C
square
#9C271C #519C1C #1C919C #671C9C
split-complementary
#9C271C #1C9C67 #1C519C
monochromatic
#340D09 #681A13 #9C271C #D03425 #E05F52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C271C#FFFFFF#000000##FFFFFF
##9C271C1.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)
#4B4219
Deuteranopia (green-blind)
#675C16
Tritanopia (blue-blind)
#AC0026
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c271c;
/* rgb */ color: rgb(156, 39, 28);
/* oklch */ color: oklch(46.0% 0.155 29.6);
Tailwind
colors: {
  custom: {
    50: '#c26a59',
    500: '#9c271c',
    950: '#000000',
  },
}
SCSS
$custom: #9c271c;
$custom-light: #c26a59;
$custom-dark: #000000;
JSON
{
  "hex": "#9c271c",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 5.156,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45966,
    "c": 0.15495,
    "h": 29.6
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#9C271C
secondary
#51B9C3
accent
#DDEC3B
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9C271C

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

Preview Lab → · Contrast checker → · Palette generator →

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