#AB3031#AB3031

#AB3031 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.8% C 0.160 H 24.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB3031
RGBrgb(171, 48, 49)
HSLhsl(360, 56%, 43%)
HSVhsv(360, 72%, 67%)
CMYKcmyk(0%, 71.9%, 71.3%, 32.9%)
CIE-LABlab(39.57, 49.74, 29.01)
CIE-LCHlch(39.57, 57.58, 30.25°)
OKLaboklab(49.83% 0.145 0.0667)
OKLCHoklch(49.83% 0.16 24.7)
XYZxyz(18.4080, 10.9963, 4.0584)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3031 #30ABAA
analogous
#AB306E #AB3031 #AB6C30
triadic
#AB3031 #31AB30 #3031AB
tetradic
#AB3031 #6EAB30 #30ABAA #6C30AB
square
#AB3031 #6EAB30 #30ABAA #6C30AB
split-complementary
#AB3031 #30AB6C #306EAB
monochromatic
#4B1516 #7B2323 #AB3031 #CD4C4D #DA7B7C

Accessibility & contrast

On white

6.56
#AB3031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB3031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3031
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3031#FFFFFF#000000##FFFFFF
##AB30311.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C30
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab3031;
/* rgb */ color: rgb(171, 48, 49);
/* oklch */ color: oklch(49.8% 0.160 24.7);
Tailwind
colors: {
  custom: {
    50: '#cc7169',
    500: '#ab3031',
    950: '#000000',
  },
}
SCSS
$custom: #ab3031;
$custom-light: #cc7169;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3031",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 49
  },
  "hsl": {
    "h": 359.512,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49828,
    "c": 0.15954,
    "h": 24.7
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#AB3031
secondary
#74C3C2
accent
#DFDE48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB3031

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

Preview Lab → · Contrast checker → · Palette generator →

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