#AB282B#AB282B

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

Color values

HEX#AB282B
RGBrgb(171, 40, 43)
HSLhsl(359, 62%, 41%)
HSVhsv(359, 77%, 67%)
CMYKcmyk(0%, 76.6%, 74.9%, 32.9%)
CIE-LABlab(38.47, 52.31, 31.33)
CIE-LCHlch(38.47, 60.97, 30.92°)
OKLaboklab(48.98% 0.1518 0.0705)
OKLCHoklch(48.98% 0.167 24.9)
XYZxyz(17.9915, 10.3527, 3.3360)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB282B #28ABA8
analogous
#AB286D #AB282B #AB6728
triadic
#AB282B #2BAB28 #282BAB
tetradic
#AB282B #6DAB28 #28ABA8 #6728AB
square
#AB282B #6DAB28 #28ABA8 #6728AB
split-complementary
#AB282B #28AB67 #286DAB
monochromatic
#481112 #791C1F #AB282B #D23E42 #DE7072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB282B#FFFFFF#000000##FFFFFF
##AB282B1.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)
#50492A
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#BC002B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab282b;
/* rgb */ color: rgb(171, 40, 43);
/* oklch */ color: oklch(49.0% 0.167 24.9);
Tailwind
colors: {
  custom: {
    50: '#cd6d64',
    500: '#ab282b',
    950: '#000000',
  },
}
SCSS
$custom: #ab282b;
$custom-light: #cd6d64;
$custom-dark: #000000;
JSON
{
  "hex": "#ab282b",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 43
  },
  "hsl": {
    "h": 358.626,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.16733,
    "h": 24.9
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#AB282B
secondary
#6AC4C2
accent
#E5E143
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB282B

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

Preview Lab → · Contrast checker → · Palette generator →

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