#AB2E2F#AB2E2F

#AB2E2F is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.6% C 0.162 H 24.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AB2E2F
RGBrgb(171, 46, 47)
HSLhsl(360, 58%, 43%)
HSVhsv(360, 73%, 67%)
CMYKcmyk(0%, 73.1%, 72.5%, 32.9%)
CIE-LABlab(39.28, 50.39, 29.86)
CIE-LCHlch(39.28, 58.58, 30.65°)
OKLaboklab(49.6% 0.1466 0.0681)
OKLCHoklch(49.6% 0.162 24.9)
XYZxyz(18.2867, 10.8199, 3.8143)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E2F #2EABAA
analogous
#AB2E6D #AB2E2F #AB6B2E
triadic
#AB2E2F #2FAB2E #2E2FAB
tetradic
#AB2E2F #6DAB2E #2EABAA #6B2EAB
square
#AB2E2F #6DAB2E #2EABAA #6B2EAB
split-complementary
#AB2E2F #2EAB6B #2E6DAB
monochromatic
#4B1414 #7B2122 #AB2E2F #CE4849 #DB7979

Accessibility & contrast

On white

6.64
#AB2E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB2E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E2F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E2F#FFFFFF#000000##FFFFFF
##AB2E2F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2E
Deuteranopia (green-blind)
#71662B
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2e2f;
/* rgb */ color: rgb(171, 46, 47);
/* oklch */ color: oklch(49.6% 0.162 24.9);
Tailwind
colors: {
  custom: {
    50: '#cc7067',
    500: '#ab2e2f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e2f;
$custom-light: #cc7067;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e2f",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 359.52,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49596,
    "c": 0.16164,
    "h": 24.9
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#AB2E2F
secondary
#72C3C2
accent
#E1E047
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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