#AB2518#AB2518

#AB2518 is a mid, vivid red. Relative luminance 0.100; OKLCH L 48.5% C 0.172 H 30.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AB2518
RGBrgb(171, 37, 24)
HSLhsl(5, 75%, 38%)
HSVhsv(5, 86%, 67%)
CMYKcmyk(0%, 78.4%, 86%, 32.9%)
CIE-LABlab(37.93, 52.65, 41.33)
CIE-LCHlch(37.93, 66.93, 38.13°)
OKLaboklab(48.52% 0.149 0.0861)
OKLCHoklch(48.52% 0.172 30)
XYZxyz(17.6232, 10.0499, 1.8759)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2518 #189EAB
analogous
#AB1854 #AB2518 #AB6E18
triadic
#AB2518 #18AB25 #2518AB
tetradic
#AB2518 #54AB18 #189EAB #6E18AB
square
#AB2518 #54AB18 #189EAB #6E18AB
split-complementary
#AB2518 #18AB6E #1854AB
monochromatic
#400E09 #751910 #AB2518 #E03120 #E76356

Accessibility & contrast

On white

6.98
#AB2518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#AB2518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2518
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2518#FFFFFF#000000##FFFFFF
##AB25181.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504614
Deuteranopia (green-blind)
#70640F
Tritanopia (blue-blind)
#BD0024
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab2518;
/* rgb */ color: rgb(171, 37, 24);
/* oklch */ color: oklch(48.5% 0.172 30.0);
Tailwind
colors: {
  custom: {
    50: '#ce6c57',
    500: '#ab2518',
    950: '#000000',
  },
}
SCSS
$custom: #ab2518;
$custom-light: #ce6c57;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2518",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 24
  },
  "hsl": {
    "h": 5.306,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.17206,
    "h": 30
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#AB2518
secondary
#55C0CA
accent
#E1F236
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #AB2518

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

Preview Lab → · Contrast checker → · Palette generator →

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