#9B271C#9B271C

#9B271C is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.154 H 29.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9B271C
RGBrgb(155, 39, 28)
HSLhsl(5, 69%, 36%)
HSVhsv(5, 82%, 61%)
CMYKcmyk(0%, 74.8%, 81.9%, 39.2%)
CIE-LABlab(35.01, 46.99, 35.37)
CIE-LCHlch(35.01, 58.82, 36.97°)
OKLaboklab(45.78% 0.1338 0.0761)
OKLCHoklch(45.78% 0.154 29.6)
XYZxyz(14.4544, 8.5057, 1.9791)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B271C #1C909B
analogous
#9B1C50 #9B271C #9B661C
triadic
#9B271C #1C9B27 #271C9B
tetradic
#9B271C #509B1C #1C909B #661C9B
square
#9B271C #509B1C #1C909B #661C9B
split-complementary
#9B271C #1C9B66 #1C509B
monochromatic
#330D09 #671A13 #9B271C #CF3425 #E05E52

Accessibility & contrast

On white

7.78
#9B271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B271C
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B271C#FFFFFF#000000##FFFFFF
##9B271C1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4219
Deuteranopia (green-blind)
#675C16
Tritanopia (blue-blind)
#AB0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b271c;
/* rgb */ color: rgb(155, 39, 28);
/* oklch */ color: oklch(45.8% 0.154 29.6);
Tailwind
colors: {
  custom: {
    50: '#c16a59',
    500: '#9b271c',
    950: '#000000',
  },
}
SCSS
$custom: #9b271c;
$custom-light: #c16a59;
$custom-dark: #000000;
JSON
{
  "hex": "#9b271c",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 5.197,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45783,
    "c": 0.15392,
    "h": 29.6
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#9B271C
secondary
#50B9C3
accent
#DDEC3C
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9B271C

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

Preview Lab → · Contrast checker → · Palette generator →

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