#AB2F29#AB2F29

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

Color values

HEX#AB2F29
RGBrgb(171, 47, 41)
HSLhsl(3, 61%, 42%)
HSVhsv(3, 76%, 67%)
CMYKcmyk(0%, 72.5%, 76%, 32.9%)
CIE-LABlab(39.33, 49.76, 33.47)
CIE-LCHlch(39.33, 59.97, 33.93°)
OKLaboklab(49.61% 0.1433 0.0746)
OKLCHoklch(49.61% 0.162 27.5)
XYZxyz(18.2134, 10.8538, 3.2334)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F29 #29A5AB
analogous
#AB2964 #AB2F29 #AB7029
triadic
#AB2F29 #29AB2F #2F29AB
tetradic
#AB2F29 #64AB29 #29A5AB #7029AB
square
#AB2F29 #64AB29 #29A5AB #7029AB
split-complementary
#AB2F29 #29AB70 #2964AB
monochromatic
#481411 #7A211D #AB2F29 #D14740 #DD7671

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F29#FFFFFF#000000##FFFFFF
##AB2F291.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)
#534B27
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f29;
/* rgb */ color: rgb(171, 47, 41);
/* oklch */ color: oklch(49.6% 0.162 27.5);
Tailwind
colors: {
  custom: {
    50: '#cc7063',
    500: '#ab2f29',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f29;
$custom-light: #cc7063;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f29",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 41
  },
  "hsl": {
    "h": 2.769,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49615,
    "c": 0.16155,
    "h": 27.5
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#AB2F29
secondary
#6CC0C4
accent
#DDE443
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2F29

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

Preview Lab → · Contrast checker → · Palette generator →

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