#AB282F#AB282F

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

Color values

HEX#AB282F
RGBrgb(171, 40, 47)
HSLhsl(357, 62%, 41%)
HSVhsv(357, 77%, 67%)
CMYKcmyk(0%, 76.6%, 72.5%, 32.9%)
CIE-LABlab(38.52, 52.49, 28.98)
CIE-LCHlch(38.52, 59.96, 28.91°)
OKLaboklab(49.04% 0.1532 0.0662)
OKLCHoklch(49.04% 0.167 23.4)
XYZxyz(18.0685, 10.3835, 3.7416)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB282F #28ABA4
analogous
#AB2871 #AB282F #AB6328
triadic
#AB282F #2FAB28 #282FAB
tetradic
#AB282F #71AB28 #28ABA4 #6328AB
square
#AB282F #71AB28 #28ABA4 #6328AB
split-complementary
#AB282F #28AB63 #2871AB
monochromatic
#481114 #791C21 #AB282F #D23E46 #DE7076

Accessibility & contrast

On white

6.83
#AB282F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB282F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB282F#FFFFFF#000000##FFFFFF
##AB282F1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492E
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab282f;
/* rgb */ color: rgb(171, 40, 47);
/* oklch */ color: oklch(49.0% 0.167 23.4);
Tailwind
colors: {
  custom: {
    50: '#cc6d67',
    500: '#ab282f',
    950: '#000000',
  },
}
SCSS
$custom: #ab282f;
$custom-light: #cc6d67;
$custom-dark: #000000;
JSON
{
  "hex": "#ab282f",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 356.794,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49036,
    "c": 0.16691,
    "h": 23.4
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#AB282F
secondary
#6AC4C0
accent
#E5DC43
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB282F

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

Preview Lab → · Contrast checker → · Palette generator →

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