#AB281F#AB281F

#AB281F is a mid, vivid red. Relative luminance 0.103; OKLCH L 48.8% C 0.169 H 28.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#AB281F
RGBrgb(171, 40, 31)
HSLhsl(4, 69%, 40%)
HSVhsv(4, 82%, 67%)
CMYKcmyk(0%, 76.6%, 81.9%, 32.9%)
CIE-LABlab(38.34, 51.87, 38.06)
CIE-LCHlch(38.34, 64.34, 36.27°)
OKLaboklab(48.84% 0.1479 0.0816)
OKLCHoklch(48.84% 0.169 28.9)
XYZxyz(17.8029, 10.2773, 2.3424)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB281F #1FA2AB
analogous
#AB1F5C #AB281F #AB6E1F
triadic
#AB281F #1FAB28 #281FAB
tetradic
#AB281F #5CAB1F #1FA2AB #6E1FAB
square
#AB281F #5CAB1F #1FA2AB #6E1FAB
split-complementary
#AB281F #1FAB6E #1F5CAB
monochromatic
#43100C #771C16 #AB281F #D9392E #E36A62

Accessibility & contrast

On white

6.87
#AB281F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#AB281F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB281F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB281F#FFFFFF#000000##FFFFFF
##AB281F1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481C
Deuteranopia (green-blind)
#716518
Tritanopia (blue-blind)
#BD0028
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab281f;
/* rgb */ color: rgb(171, 40, 31);
/* oklch */ color: oklch(48.8% 0.169 28.9);
Tailwind
colors: {
  custom: {
    50: '#cd6d5c',
    500: '#ab281f',
    950: '#000000',
  },
}
SCSS
$custom: #ab281f;
$custom-light: #cd6d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab281f",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 3.857,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48837,
    "c": 0.16887,
    "h": 28.9
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#AB281F
secondary
#5EC1C7
accent
#E1EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB281F

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

Preview Lab → · Contrast checker → · Palette generator →

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