#AB2B2E#AB2B2E

#AB2B2E is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.164 H 24.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AB2B2E
RGBrgb(171, 43, 46)
HSLhsl(359, 60%, 42%)
HSVhsv(359, 75%, 67%)
CMYKcmyk(0%, 74.9%, 73.1%, 32.9%)
CIE-LABlab(38.87, 51.42, 30.00)
CIE-LCHlch(38.87, 59.53, 30.26°)
OKLaboklab(49.29% 0.1496 0.0682)
OKLCHoklch(49.29% 0.164 24.5)
XYZxyz(18.1537, 10.5857, 3.6716)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B2E #2BABA8
analogous
#AB2B6E #AB2B2E #AB682B
triadic
#AB2B2E #2EAB2B #2B2EAB
tetradic
#AB2B2E #6EAB2B #2BABA8 #682BAB
square
#AB2B2E #6EAB2B #2BABA8 #682BAB
split-complementary
#AB2B2E #2BAB68 #2B6EAB
monochromatic
#491214 #7A1F21 #AB2B2E #D04347 #DC7477

Accessibility & contrast

On white

6.74
#AB2B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AB2B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B2E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B2E#FFFFFF#000000##FFFFFF
##AB2B2E1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2D
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2b2e;
/* rgb */ color: rgb(171, 43, 46);
/* oklch */ color: oklch(49.3% 0.164 24.5);
Tailwind
colors: {
  custom: {
    50: '#cc6f67',
    500: '#ab2b2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b2e;
$custom-light: #cc6f67;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b2e",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 46
  },
  "hsl": {
    "h": 358.594,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49293,
    "c": 0.16444,
    "h": 24.5
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#AB2B2E
secondary
#6EC4C2
accent
#E3DF45
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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