#AB412A#AB412A

#AB412A is a mid, vivid red. Relative luminance 0.126; OKLCH L 51.7% C 0.144 H 33.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB412A
RGBrgb(171, 65, 42)
HSLhsl(11, 61%, 42%)
HSVhsv(11, 75%, 67%)
CMYKcmyk(0%, 62%, 75.4%, 32.9%)
CIE-LABlab(42.17, 42.17, 35.99)
CIE-LCHlch(42.17, 55.44, 40.48°)
OKLaboklab(51.75% 0.1198 0.0804)
OKLCHoklch(51.75% 0.144 33.9)
XYZxyz(19.1048, 12.6083, 3.6177)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB412A #2A94AB
analogous
#AB2A54 #AB412A #AB822A
triadic
#AB412A #2AAB41 #412AAB
tetradic
#AB412A #54AB2A #2A94AB #822AAB
square
#AB412A #54AB2A #2A94AB #822AAB
split-complementary
#AB412A #2AAB82 #2A54AB
monochromatic
#491C12 #7A2E1E #AB412A #D15B42 #DD8673

Accessibility & contrast

On white

5.96
#AB412A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB412A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB412A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB412A#FFFFFF#000000##FFFFFF
##AB412A1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5527
Deuteranopia (green-blind)
#796C27
Tritanopia (blue-blind)
#BC273C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab412a;
/* rgb */ color: rgb(171, 65, 42);
/* oklch */ color: oklch(51.7% 0.144 33.9);
Tailwind
colors: {
  custom: {
    50: '#cb7a65',
    500: '#ab412a',
    950: '#000000',
  },
}
SCSS
$custom: #ab412a;
$custom-light: #cb7a65;
$custom-dark: #000000;
JSON
{
  "hex": "#ab412a",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 42
  },
  "hsl": {
    "h": 10.698,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.14423,
    "h": 33.9
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#AB412A
secondary
#6DB4C4
accent
#C7E444
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AB412A

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

Preview Lab → · Contrast checker → · Palette generator →

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