#9C271F#9C271F

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

Color values

HEX#9C271F
RGBrgb(156, 39, 31)
HSLhsl(4, 67%, 37%)
HSVhsv(4, 80%, 61%)
CMYKcmyk(0%, 75%, 80.1%, 38.8%)
CIE-LABlab(35.24, 47.42, 33.99)
CIE-LCHlch(35.24, 58.34, 35.63°)
OKLaboklab(46% 0.1356 0.074)
OKLCHoklch(46% 0.155 28.6)
XYZxyz(14.6849, 8.6202, 2.1867)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C271F #1F949C
analogous
#9C1F56 #9C271F #9C661F
triadic
#9C271F #1F9C27 #271F9C
tetradic
#9C271F #569C1F #1F949C #661F9C
square
#9C271F #569C1F #1F949C #661F9C
split-complementary
#9C271F #1F9C66 #1F569C
monochromatic
#360D0B #691A15 #9C271F #CF3429 #DE6058

Accessibility & contrast

On white

7.71
#9C271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C271F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C271F#FFFFFF#000000##FFFFFF
##9C271F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A431D
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#AC0026
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c271f;
/* rgb */ color: rgb(156, 39, 31);
/* oklch */ color: oklch(46.0% 0.155 28.6);
Tailwind
colors: {
  custom: {
    50: '#c26a5c',
    500: '#9c271f',
    950: '#000000',
  },
}
SCSS
$custom: #9c271f;
$custom-light: #c26a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c271f",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 3.84,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.15451,
    "h": 28.6
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#9C271F
secondary
#55BBC1
accent
#DFEA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9C271F

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

Preview Lab → · Contrast checker → · Palette generator →

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