#AB3128#AB3128

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

Color values

HEX#AB3128
RGBrgb(171, 49, 40)
HSLhsl(4, 62%, 41%)
HSVhsv(4, 77%, 67%)
CMYKcmyk(0%, 71.3%, 76.6%, 32.9%)
CIE-LABlab(39.60, 48.96, 34.33)
CIE-LCHlch(39.60, 59.79, 35.04°)
OKLaboklab(49.81% 0.1406 0.0763)
OKLCHoklch(49.81% 0.16 28.5)
XYZxyz(18.2780, 11.0105, 3.1699)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3128 #28A2AB
analogous
#AB2861 #AB3128 #AB7328
triadic
#AB3128 #28AB31 #3128AB
tetradic
#AB3128 #61AB28 #28A2AB #7328AB
square
#AB3128 #61AB28 #28A2AB #7328AB
split-complementary
#AB3128 #28AB73 #2861AB
monochromatic
#481511 #79231C #AB3128 #D2483E #DE7770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3128#FFFFFF#000000##FFFFFF
##AB31281.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)
#554C26
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab3128;
/* rgb */ color: rgb(171, 49, 40);
/* oklch */ color: oklch(49.8% 0.160 28.5);
Tailwind
colors: {
  custom: {
    50: '#cc7163',
    500: '#ab3128',
    950: '#000000',
  },
}
SCSS
$custom: #ab3128;
$custom-light: #cc7163;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3128",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 40
  },
  "hsl": {
    "h": 4.122,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.1599,
    "h": 28.5
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#AB3128
secondary
#6ABEC4
accent
#DAE543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB3128

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

Preview Lab → · Contrast checker → · Palette generator →

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