#AB3126#AB3126

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

Color values

HEX#AB3126
RGBrgb(171, 49, 38)
HSLhsl(5, 64%, 41%)
HSVhsv(5, 78%, 67%)
CMYKcmyk(0%, 71.3%, 77.8%, 32.9%)
CIE-LABlab(39.58, 48.88, 35.45)
CIE-LCHlch(39.58, 60.38, 35.95°)
OKLaboklab(49.79% 0.1399 0.0781)
OKLCHoklch(49.79% 0.16 29.2)
XYZxyz(18.2449, 10.9973, 2.9953)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3126 #26A0AB
analogous
#AB265E #AB3126 #AB7326
triadic
#AB3126 #26AB31 #3126AB
tetradic
#AB3126 #5EAB26 #26A0AB #7326AB
square
#AB3126 #5EAB26 #26A0AB #7326AB
split-complementary
#AB3126 #26AB73 #265EAB
monochromatic
#471410 #79231B #AB3126 #D3473B #DF766D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3126#FFFFFF#000000##FFFFFF
##AB31261.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)
#554C24
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab3126;
/* rgb */ color: rgb(171, 49, 38);
/* oklch */ color: oklch(49.8% 0.160 29.2);
Tailwind
colors: {
  custom: {
    50: '#cc7161',
    500: '#ab3126',
    950: '#000000',
  },
}
SCSS
$custom: #ab3126;
$custom-light: #cc7161;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3126",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 38
  },
  "hsl": {
    "h": 4.962,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49785,
    "c": 0.16022,
    "h": 29.2
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#AB3126
secondary
#68BDC5
accent
#D9E741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB3126

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

Preview Lab → · Contrast checker → · Palette generator →

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