#AB2E34#AB2E34

#AB2E34 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.161 H 22.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AB2E34
RGBrgb(171, 46, 52)
HSLhsl(357, 58%, 43%)
HSVhsv(357, 73%, 67%)
CMYKcmyk(0%, 73.1%, 69.6%, 32.9%)
CIE-LABlab(39.35, 50.64, 26.92)
CIE-LCHlch(39.35, 57.35, 27.99°)
OKLaboklab(49.67% 0.1485 0.0626)
OKLCHoklch(49.67% 0.161 22.8)
XYZxyz(18.3934, 10.8626, 4.3763)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E34 #2EABA5
analogous
#AB2E72 #AB2E34 #AB662E
triadic
#AB2E34 #34AB2E #2E34AB
tetradic
#AB2E34 #72AB2E #2EABA5 #662EAB
square
#AB2E34 #72AB2E #2EABA5 #662EAB
split-complementary
#AB2E34 #2EAB66 #2E72AB
monochromatic
#4B1417 #7B2125 #AB2E34 #CE484F #DB797D

Accessibility & contrast

On white

6.62
#AB2E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AB2E34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E34
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E34#FFFFFF#000000##FFFFFF
##AB2E341.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C33
Deuteranopia (green-blind)
#716630
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2e34;
/* rgb */ color: rgb(171, 46, 52);
/* oklch */ color: oklch(49.7% 0.161 22.8);
Tailwind
colors: {
  custom: {
    50: '#cc706b',
    500: '#ab2e34',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e34;
$custom-light: #cc706b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e34",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 52
  },
  "hsl": {
    "h": 357.12,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.1611,
    "h": 22.8
  },
  "luminance": 0.1086
}

Semantic roles & 50–950 ramp

primary
#AB2E34
secondary
#72C3BF
accent
#E1D947
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2E34

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

Preview Lab → · Contrast checker → · Palette generator →

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