#AB2A2F#AB2A2F

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

Color values

HEX#AB2A2F
RGBrgb(171, 42, 47)
HSLhsl(358, 61%, 42%)
HSVhsv(358, 75%, 67%)
CMYKcmyk(0%, 75.4%, 72.5%, 32.9%)
CIE-LABlab(38.76, 51.81, 29.26)
CIE-LCHlch(38.76, 59.51, 29.46°)
OKLaboklab(49.22% 0.1511 0.0668)
OKLCHoklch(49.22% 0.165 23.9)
XYZxyz(18.1377, 10.5219, 3.7647)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A2F #2AABA6
analogous
#AB2A70 #AB2A2F #AB652A
triadic
#AB2A2F #2FAB2A #2A2FAB
tetradic
#AB2A2F #70AB2A #2AABA6 #652AAB
square
#AB2A2F #70AB2A #2AABA6 #652AAB
split-complementary
#AB2A2F #2AAB65 #2A70AB
monochromatic
#491214 #7A1E21 #AB2A2F #D14247 #DD7377

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2A2F#FFFFFF#000000##FFFFFF
##AB2A2F1.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)
#504A2E
Deuteranopia (green-blind)
#70652B
Tritanopia (blue-blind)
#BC002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a2f;
/* rgb */ color: rgb(171, 42, 47);
/* oklch */ color: oklch(49.2% 0.165 23.9);
Tailwind
colors: {
  custom: {
    50: '#cc6e67',
    500: '#ab2a2f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a2f;
$custom-light: #cc6e67;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a2f",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 357.674,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49215,
    "c": 0.16521,
    "h": 23.9
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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