#AB2418#AB2418

#AB2418 is a mid, vivid red. Relative luminance 0.100; OKLCH L 48.4% C 0.173 H 29.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#AB2418
RGBrgb(171, 36, 24)
HSLhsl(5, 75%, 38%)
HSVhsv(5, 86%, 67%)
CMYKcmyk(0%, 78.9%, 86%, 32.9%)
CIE-LABlab(37.82, 52.96, 41.24)
CIE-LCHlch(37.82, 67.12, 37.91°)
OKLaboklab(48.44% 0.15 0.0859)
OKLCHoklch(48.44% 0.173 29.8)
XYZxyz(17.5925, 9.9885, 1.8656)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2418 #189FAB
analogous
#AB1855 #AB2418 #AB6D18
triadic
#AB2418 #18AB24 #2418AB
tetradic
#AB2418 #55AB18 #189FAB #6D18AB
square
#AB2418 #55AB18 #189FAB #6D18AB
split-complementary
#AB2418 #18AB6D #1855AB
monochromatic
#400D09 #751910 #AB2418 #E03020 #E76256

Accessibility & contrast

On white

7.01
#AB2418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#AB2418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2418
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2418#FFFFFF#000000##FFFFFF
##AB24181.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4614
Deuteranopia (green-blind)
#70640F
Tritanopia (blue-blind)
#BD0023
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab2418;
/* rgb */ color: rgb(171, 36, 24);
/* oklch */ color: oklch(48.4% 0.173 29.8);
Tailwind
colors: {
  custom: {
    50: '#ce6b57',
    500: '#ab2418',
    950: '#000000',
  },
}
SCSS
$custom: #ab2418;
$custom-light: #ce6b57;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2418",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 24
  },
  "hsl": {
    "h": 4.898,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48436,
    "c": 0.17279,
    "h": 29.8
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#AB2418
secondary
#55C1CA
accent
#E3F236
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #AB2418

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

Preview Lab → · Contrast checker → · Palette generator →

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