#9A271A#9A271A

#9A271A is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.6% C 0.153 H 30.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9A271A
RGBrgb(154, 39, 26)
HSLhsl(6, 71%, 35%)
HSVhsv(6, 83%, 60%)
CMYKcmyk(0%, 74.7%, 83.1%, 39.6%)
CIE-LABlab(34.80, 46.60, 36.18)
CIE-LCHlch(34.80, 59.00, 37.83°)
OKLaboklab(45.58% 0.1323 0.0773)
OKLCHoklch(45.58% 0.153 30.3)
XYZxyz(14.2401, 8.3979, 1.8482)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A271A #1A8D9A
analogous
#9A1A4D #9A271A #9A671A
triadic
#9A271A #1A9A27 #271A9A
tetradic
#9A271A #4D9A1A #1A8D9A #671A9A
square
#9A271A #4D9A1A #1A8D9A #671A9A
split-complementary
#9A271A #1A9A67 #1A4D9A
monochromatic
#310C08 #661A11 #9A271A #CE3423 #E15C4D

Accessibility & contrast

On white

7.84
#9A271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9A271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A271A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A271A#FFFFFF#000000##FFFFFF
##9A271A1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4217
Deuteranopia (green-blind)
#665B14
Tritanopia (blue-blind)
#AA0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a271a;
/* rgb */ color: rgb(154, 39, 26);
/* oklch */ color: oklch(45.6% 0.153 30.3);
Tailwind
colors: {
  custom: {
    50: '#c16a58',
    500: '#9a271a',
    950: '#000000',
  },
}
SCSS
$custom: #9a271a;
$custom-light: #c16a58;
$custom-dark: #000000;
JSON
{
  "hex": "#9a271a",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 6.094,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4558,
    "c": 0.1532,
    "h": 30.3
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#9A271A
secondary
#4DB7C3
accent
#DCEE3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9A271A

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

Preview Lab → · Contrast checker → · Palette generator →

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