#AB2F2C#AB2F2C

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

Color values

HEX#AB2F2C
RGBrgb(171, 47, 44)
HSLhsl(1, 59%, 42%)
HSVhsv(1, 74%, 67%)
CMYKcmyk(0%, 72.5%, 74.3%, 32.9%)
CIE-LABlab(39.37, 49.88, 31.76)
CIE-LCHlch(39.37, 59.13, 32.48°)
OKLaboklab(49.65% 0.1443 0.0716)
OKLCHoklch(49.65% 0.161 26.4)
XYZxyz(18.2678, 10.8756, 3.5197)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F2C #2CA8AB
analogous
#AB2C69 #AB2F2C #AB6E2C
triadic
#AB2F2C #2CAB2F #2F2CAB
tetradic
#AB2F2C #69AB2C #2CA8AB #6E2CAB
square
#AB2F2C #69AB2C #2CA8AB #6E2CAB
split-complementary
#AB2F2C #2CAB6E #2C69AB
monochromatic
#4A1413 #7A221F #AB2F2C #CF4845 #DC7876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F2C#FFFFFF#000000##FFFFFF
##AB2F2C1.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)
#534C2A
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f2c;
/* rgb */ color: rgb(171, 47, 44);
/* oklch */ color: oklch(49.7% 0.161 26.4);
Tailwind
colors: {
  custom: {
    50: '#cc7065',
    500: '#ab2f2c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f2c;
$custom-light: #cc7065;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f2c",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 1.417,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49654,
    "c": 0.16111,
    "h": 26.4
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

primary
#AB2F2C
secondary
#6FC1C3
accent
#DFE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB2F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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