#AB2F28#AB2F28

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

Color values

HEX#AB2F28
RGBrgb(171, 47, 40)
HSLhsl(3, 62%, 41%)
HSVhsv(3, 77%, 67%)
CMYKcmyk(0%, 72.5%, 76.6%, 32.9%)
CIE-LABlab(39.32, 49.72, 34.03)
CIE-LCHlch(39.32, 60.25, 34.39°)
OKLaboklab(49.6% 0.1429 0.0756)
OKLCHoklch(49.6% 0.162 27.9)
XYZxyz(18.1962, 10.8469, 3.1426)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F28 #28A4AB
analogous
#AB2863 #AB2F28 #AB7128
triadic
#AB2F28 #28AB2F #2F28AB
tetradic
#AB2F28 #63AB28 #28A4AB #7128AB
square
#AB2F28 #63AB28 #28A4AB #7128AB
split-complementary
#AB2F28 #28AB71 #2863AB
monochromatic
#481411 #79211C #AB2F28 #D2463E #DE7670

Accessibility & contrast

On white

6.63
#AB2F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2F28
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F28#FFFFFF#000000##FFFFFF
##AB2F281.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B26
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f28;
/* rgb */ color: rgb(171, 47, 40);
/* oklch */ color: oklch(49.6% 0.162 27.9);
Tailwind
colors: {
  custom: {
    50: '#cc7062',
    500: '#ab2f28',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f28;
$custom-light: #cc7062;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f28",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 3.206,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49602,
    "c": 0.1617,
    "h": 27.9
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#AB2F28
secondary
#6AC0C4
accent
#DCE543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2F28

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

Preview Lab → · Contrast checker → · Palette generator →

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