#AB2836#AB2836

#AB2836 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.166 H 20.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AB2836
RGBrgb(171, 40, 54)
HSLhsl(354, 62%, 41%)
HSVhsv(354, 77%, 67%)
CMYKcmyk(0%, 76.6%, 68.4%, 32.9%)
CIE-LABlab(38.63, 52.83, 24.81)
CIE-LCHlch(38.63, 58.37, 25.15°)
OKLaboklab(49.15% 0.1559 0.0582)
OKLCHoklch(49.15% 0.166 20.5)
XYZxyz(18.2212, 10.4446, 4.5459)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2836 #28AB9D
analogous
#AB2878 #AB2836 #AB5C28
triadic
#AB2836 #36AB28 #2836AB
tetradic
#AB2836 #78AB28 #28AB9D #5C28AB
square
#AB2836 #78AB28 #28AB9D #5C28AB
split-complementary
#AB2836 #28AB5C #2878AB
monochromatic
#481117 #791C26 #AB2836 #D23E4E #DE707C

Accessibility & contrast

On white

6.80
#AB2836 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB2836 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2836
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2836#FFFFFF#000000##FFFFFF
##AB28361.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4935
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2836;
/* rgb */ color: rgb(171, 40, 54);
/* oklch */ color: oklch(49.1% 0.166 20.5);
Tailwind
colors: {
  custom: {
    50: '#cc6e6d',
    500: '#ab2836',
    950: '#000000',
  },
}
SCSS
$custom: #ab2836;
$custom-light: #cc6e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2836",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 54
  },
  "hsl": {
    "h": 353.588,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49149,
    "c": 0.16638,
    "h": 20.5
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#AB2836
secondary
#6AC4BB
accent
#E5D443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2836

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

Preview Lab → · Contrast checker → · Palette generator →

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