#AB282C#AB282C

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

Color values

HEX#AB282C
RGBrgb(171, 40, 44)
HSLhsl(358, 62%, 41%)
HSVhsv(358, 77%, 67%)
CMYKcmyk(0%, 76.6%, 74.3%, 32.9%)
CIE-LABlab(38.48, 52.35, 30.75)
CIE-LCHlch(38.48, 60.71, 30.42°)
OKLaboklab(48.99% 0.1521 0.0694)
OKLCHoklch(48.99% 0.167 24.5)
XYZxyz(18.0101, 10.3602, 3.4338)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB282C #28ABA7
analogous
#AB286E #AB282C #AB6628
triadic
#AB282C #2CAB28 #282CAB
tetradic
#AB282C #6EAB28 #28ABA7 #6628AB
square
#AB282C #6EAB28 #28ABA7 #6628AB
split-complementary
#AB282C #28AB66 #286EAB
monochromatic
#481112 #791C1F #AB282C #D23E43 #DE7073

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB282C#FFFFFF#000000##FFFFFF
##AB282C1.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)
#4F492B
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#BC002B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab282c;
/* rgb */ color: rgb(171, 40, 44);
/* oklch */ color: oklch(49.0% 0.167 24.5);
Tailwind
colors: {
  custom: {
    50: '#cc6d65',
    500: '#ab282c',
    950: '#000000',
  },
}
SCSS
$custom: #ab282c;
$custom-light: #cc6d65;
$custom-dark: #000000;
JSON
{
  "hex": "#ab282c",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 44
  },
  "hsl": {
    "h": 358.168,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48992,
    "c": 0.16722,
    "h": 24.5
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB282C

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

Preview Lab → · Contrast checker → · Palette generator →

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