#AB2F2B#AB2F2B

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

Color values

HEX#AB2F2B
RGBrgb(171, 47, 43)
HSLhsl(2, 60%, 42%)
HSVhsv(2, 75%, 67%)
CMYKcmyk(0%, 72.5%, 74.9%, 32.9%)
CIE-LABlab(39.36, 49.84, 32.33)
CIE-LCHlch(39.36, 59.41, 32.97°)
OKLaboklab(49.64% 0.144 0.0726)
OKLCHoklch(49.64% 0.161 26.8)
XYZxyz(18.2492, 10.8681, 3.4219)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F2B #2BA7AB
analogous
#AB2B67 #AB2F2B #AB6F2B
triadic
#AB2F2B #2BAB2F #2F2BAB
tetradic
#AB2F2B #67AB2B #2BA7AB #6F2BAB
square
#AB2F2B #67AB2B #2BA7AB #6F2BAB
split-complementary
#AB2F2B #2BAB6F #2B67AB
monochromatic
#491412 #7A221F #AB2F2B #D04843 #DC7874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F2B#FFFFFF#000000##FFFFFF
##AB2F2B1.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)
#534C29
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f2b;
/* rgb */ color: rgb(171, 47, 43);
/* oklch */ color: oklch(49.6% 0.161 26.8);
Tailwind
colors: {
  custom: {
    50: '#cc7065',
    500: '#ab2f2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f2b;
$custom-light: #cc7065;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f2b",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 1.875,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.16126,
    "h": 26.8
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#AB2F2B
secondary
#6EC1C4
accent
#DEE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB2F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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