#AB282A#AB282A

#AB282A is a mid, vivid red. Relative luminance 0.103; OKLCH L 49.0% C 0.167 H 25.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AB282A
RGBrgb(171, 40, 42)
HSLhsl(359, 62%, 41%)
HSVhsv(359, 77%, 67%)
CMYKcmyk(0%, 76.6%, 75.4%, 32.9%)
CIE-LABlab(38.46, 52.27, 31.91)
CIE-LCHlch(38.46, 61.24, 31.40°)
OKLaboklab(48.97% 0.1514 0.0715)
OKLCHoklch(48.97% 0.167 25.3)
XYZxyz(17.9734, 10.3455, 3.2405)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB282A #28ABA9
analogous
#AB286C #AB282A #AB6828
triadic
#AB282A #2AAB28 #282AAB
tetradic
#AB282A #6CAB28 #28ABA9 #6828AB
square
#AB282A #6CAB28 #28ABA9 #6828AB
split-complementary
#AB282A #28AB68 #286CAB
monochromatic
#481112 #791C1E #AB282A #D23E41 #DE7072

Accessibility & contrast

On white

6.84
#AB282A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AB282A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB282A
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB282A#FFFFFF#000000##FFFFFF
##AB282A1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504829
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#BC002A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab282a;
/* rgb */ color: rgb(171, 40, 42);
/* oklch */ color: oklch(49.0% 0.167 25.3);
Tailwind
colors: {
  custom: {
    50: '#cd6d64',
    500: '#ab282a',
    950: '#000000',
  },
}
SCSS
$custom: #ab282a;
$custom-light: #cd6d64;
$custom-dark: #000000;
JSON
{
  "hex": "#ab282a",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 42
  },
  "hsl": {
    "h": 359.084,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.16744,
    "h": 25.3
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#AB282A
secondary
#6AC4C3
accent
#E5E343
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB282A

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

Preview Lab → · Contrast checker → · Palette generator →

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