#AB2B2F#AB2B2F

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

Color values

HEX#AB2B2F
RGBrgb(171, 43, 47)
HSLhsl(358, 60%, 42%)
HSVhsv(358, 75%, 67%)
CMYKcmyk(0%, 74.9%, 72.5%, 32.9%)
CIE-LABlab(38.89, 51.47, 29.41)
CIE-LCHlch(38.89, 59.28, 29.74°)
OKLaboklab(49.31% 0.15 0.0671)
OKLCHoklch(49.31% 0.164 24.1)
XYZxyz(18.1736, 10.5937, 3.7766)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B2F #2BABA7
analogous
#AB2B6F #AB2B2F #AB672B
triadic
#AB2B2F #2FAB2B #2B2FAB
tetradic
#AB2B2F #6FAB2B #2BABA7 #672BAB
square
#AB2B2F #6FAB2B #2BABA7 #672BAB
split-complementary
#AB2B2F #2BAB67 #2B6FAB
monochromatic
#491214 #7A1F22 #AB2B2F #D04348 #DC7478

Accessibility & contrast

On white

6.73
#AB2B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2B2F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B2F#FFFFFF#000000##FFFFFF
##AB2B2F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2b2f;
/* rgb */ color: rgb(171, 43, 47);
/* oklch */ color: oklch(49.3% 0.164 24.1);
Tailwind
colors: {
  custom: {
    50: '#cc6f67',
    500: '#ab2b2f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b2f;
$custom-light: #cc6f67;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b2f",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 47
  },
  "hsl": {
    "h": 358.125,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49307,
    "c": 0.16433,
    "h": 24.1
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#AB2B2F
secondary
#6EC4C1
accent
#E3DE45
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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