#AB2A2E#AB2A2E

#AB2A2E is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.165 H 24.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AB2A2E
RGBrgb(171, 42, 46)
HSLhsl(358, 61%, 42%)
HSVhsv(358, 75%, 67%)
CMYKcmyk(0%, 75.4%, 73.1%, 32.9%)
CIE-LABlab(38.75, 51.77, 29.85)
CIE-LCHlch(38.75, 59.76, 29.97°)
OKLaboklab(49.2% 0.1507 0.0679)
OKLCHoklch(49.2% 0.165 24.3)
XYZxyz(18.1178, 10.5139, 3.6596)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A2E #2AABA7
analogous
#AB2A6E #AB2A2E #AB672A
triadic
#AB2A2E #2EAB2A #2A2EAB
tetradic
#AB2A2E #6EAB2A #2AABA7 #672AAB
square
#AB2A2E #6EAB2A #2AABA7 #672AAB
split-complementary
#AB2A2E #2AAB67 #2A6EAB
monochromatic
#491214 #7A1E21 #AB2A2E #D14246 #DD7376

Accessibility & contrast

On white

6.77
#AB2A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AB2A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A2E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A2E#FFFFFF#000000##FFFFFF
##AB2A2E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492D
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#BC002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a2e;
/* rgb */ color: rgb(171, 42, 46);
/* oklch */ color: oklch(49.2% 0.165 24.3);
Tailwind
colors: {
  custom: {
    50: '#cc6e67',
    500: '#ab2a2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a2e;
$custom-light: #cc6e67;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a2e",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 358.14,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.492,
    "c": 0.16531,
    "h": 24.3
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#AB2A2E
secondary
#6DC4C1
accent
#E4DF44
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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