#AB2318#AB2318

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

Color values

HEX#AB2318
RGBrgb(171, 35, 24)
HSLhsl(4, 75%, 38%)
HSVhsv(4, 86%, 67%)
CMYKcmyk(0%, 79.5%, 86%, 32.9%)
CIE-LABlab(37.71, 53.26, 41.14)
CIE-LCHlch(37.71, 67.30, 37.69°)
OKLaboklab(48.36% 0.1509 0.0856)
OKLCHoklch(48.36% 0.173 29.6)
XYZxyz(17.5627, 9.9288, 1.8557)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2318 #18A0AB
analogous
#AB1856 #AB2318 #AB6C18
triadic
#AB2318 #18AB23 #2318AB
tetradic
#AB2318 #56AB18 #18A0AB #6C18AB
square
#AB2318 #56AB18 #18A0AB #6C18AB
split-complementary
#AB2318 #18AB6C #1856AB
monochromatic
#400D09 #751810 #AB2318 #E02F20 #E76156

Accessibility & contrast

On white

7.03
#AB2318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#AB2318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AB2318
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2318#FFFFFF#000000##FFFFFF
##AB23181.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2318;
/* rgb */ color: rgb(171, 35, 24);
/* oklch */ color: oklch(48.4% 0.173 29.6);
Tailwind
colors: {
  custom: {
    50: '#ce6b57',
    500: '#ab2318',
    950: '#000000',
  },
}
SCSS
$custom: #ab2318;
$custom-light: #ce6b57;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2318",
  "rgb": {
    "r": 171,
    "g": 35,
    "b": 24
  },
  "hsl": {
    "h": 4.49,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.17349,
    "h": 29.6
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2318

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

Preview Lab → · Contrast checker → · Palette generator →

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