#AD271B#AD271B

#AD271B is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.172 H 29.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AD271B
RGBrgb(173, 39, 27)
HSLhsl(5, 73%, 39%)
HSVhsv(5, 84%, 68%)
CMYKcmyk(0%, 77.5%, 84.4%, 32.2%)
CIE-LABlab(38.58, 52.71, 40.54)
CIE-LCHlch(38.58, 66.50, 37.57°)
OKLaboklab(49.08% 0.1495 0.0853)
OKLCHoklch(49.08% 0.172 29.7)
XYZxyz(18.1592, 10.4173, 2.0913)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD271B #1BA1AD
analogous
#AD1B58 #AD271B #AD701B
triadic
#AD271B #1BAD27 #271BAD
tetradic
#AD271B #58AD1B #1BA1AD #701BAD
square
#AD271B #58AD1B #1BA1AD #701BAD
split-complementary
#AD271B #1BAD70 #1B58AD
monochromatic
#430F0A #781B13 #AD271B #DD3728 #E6685D

Accessibility & contrast

On white

6.81
#AD271B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AD271B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD271B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD271B#FFFFFF#000000##FFFFFF
##AD271B1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514818
Deuteranopia (green-blind)
#726513
Tritanopia (blue-blind)
#BF0026
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ad271b;
/* rgb */ color: rgb(173, 39, 27);
/* oklch */ color: oklch(49.1% 0.172 29.7);
Tailwind
colors: {
  custom: {
    50: '#cf6d59',
    500: '#ad271b',
    950: '#000000',
  },
}
SCSS
$custom: #ad271b;
$custom-light: #cf6d59;
$custom-dark: #000000;
JSON
{
  "hex": "#ad271b",
  "rgb": {
    "r": 173,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 4.932,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4908,
    "c": 0.17215,
    "h": 29.7
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#AD271B
secondary
#5AC0CA
accent
#E1F038
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AD271B

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

Preview Lab → · Contrast checker → · Palette generator →

#AD271B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva