#AB412E#AB412E

#AB412E is a mid, vivid red. Relative luminance 0.126; OKLCH L 51.8% C 0.143 H 32.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB412E
RGBrgb(171, 65, 46)
HSLhsl(9, 58%, 43%)
HSVhsv(9, 73%, 67%)
CMYKcmyk(0%, 62%, 73.1%, 32.9%)
CIE-LABlab(42.21, 42.35, 33.81)
CIE-LCHlch(42.21, 54.19, 38.60°)
OKLaboklab(51.8% 0.1211 0.0765)
OKLCHoklch(51.8% 0.143 32.3)
XYZxyz(19.1800, 12.6384, 4.0137)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB412E #2E98AB
analogous
#AB2E59 #AB412E #AB802E
triadic
#AB412E #2EAB41 #412EAB
tetradic
#AB412E #59AB2E #2E98AB #802EAB
square
#AB412E #59AB2E #2E98AB #802EAB
split-complementary
#AB412E #2EAB80 #2E59AB
monochromatic
#4B1C14 #7B2F21 #AB412E #CE5D48 #DB8879

Accessibility & contrast

On white

5.95
#AB412E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB412E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB412E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB412E#FFFFFF#000000##FFFFFF
##AB412E1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552B
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#BC283D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab412e;
/* rgb */ color: rgb(171, 65, 46);
/* oklch */ color: oklch(51.8% 0.143 32.3);
Tailwind
colors: {
  custom: {
    50: '#cb7a67',
    500: '#ab412e',
    950: '#000000',
  },
}
SCSS
$custom: #ab412e;
$custom-light: #cb7a67;
$custom-dark: #000000;
JSON
{
  "hex": "#ab412e",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 46
  },
  "hsl": {
    "h": 9.12,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51796,
    "c": 0.14328,
    "h": 32.3
  },
  "luminance": 0.12636
}

Semantic roles & 50–950 ramp

primary
#AB412E
secondary
#72B7C3
accent
#C9E147
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AB412E

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

Preview Lab → · Contrast checker → · Palette generator →

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