#AB2F2D#AB2F2D

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

Color values

HEX#AB2F2D
RGBrgb(171, 47, 45)
HSLhsl(1, 58%, 42%)
HSVhsv(1, 74%, 67%)
CMYKcmyk(0%, 72.5%, 73.7%, 32.9%)
CIE-LABlab(39.38, 49.93, 31.18)
CIE-LCHlch(39.38, 58.86, 31.98°)
OKLaboklab(49.67% 0.1447 0.0706)
OKLCHoklch(49.67% 0.161 26)
XYZxyz(18.2868, 10.8832, 3.6199)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F2D #2DA9AB
analogous
#AB2D6A #AB2F2D #AB6E2D
triadic
#AB2F2D #2DAB2F #2F2DAB
tetradic
#AB2F2D #6AAB2D #2DA9AB #6E2DAB
square
#AB2F2D #6AAB2D #2DA9AB #6E2DAB
split-complementary
#AB2F2D #2DAB6E #2D6AAB
monochromatic
#4A1414 #7B2220 #AB2F2D #CE4947 #DB7977

Accessibility & contrast

On white

6.61
#AB2F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AB2F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F2D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F2D#FFFFFF#000000##FFFFFF
##AB2F2D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2B
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f2d;
/* rgb */ color: rgb(171, 47, 45);
/* oklch */ color: oklch(49.7% 0.161 26.0);
Tailwind
colors: {
  custom: {
    50: '#cc7066',
    500: '#ab2f2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f2d;
$custom-light: #cc7066;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f2d",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 0.952,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49668,
    "c": 0.16098,
    "h": 26
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#AB2F2D
secondary
#71C2C3
accent
#DFE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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