#AB2F26#AB2F26

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

Color values

HEX#AB2F26
RGBrgb(171, 47, 38)
HSLhsl(4, 64%, 41%)
HSVhsv(4, 78%, 67%)
CMYKcmyk(0%, 72.5%, 77.8%, 32.9%)
CIE-LABlab(39.30, 49.64, 35.15)
CIE-LCHlch(39.30, 60.82, 35.30°)
OKLaboklab(49.58% 0.1423 0.0775)
OKLCHoklch(49.58% 0.162 28.6)
XYZxyz(18.1631, 10.8337, 2.9681)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F26 #26A2AB
analogous
#AB265F #AB2F26 #AB7126
triadic
#AB2F26 #26AB2F #2F26AB
tetradic
#AB2F26 #5FAB26 #26A2AB #7126AB
square
#AB2F26 #5FAB26 #26A2AB #7126AB
split-complementary
#AB2F26 #26AB71 #265FAB
monochromatic
#471310 #79211B #AB2F26 #D3453B #DF756D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F26#FFFFFF#000000##FFFFFF
##AB2F261.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)
#544B24
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f26;
/* rgb */ color: rgb(171, 47, 38);
/* oklch */ color: oklch(49.6% 0.162 28.6);
Tailwind
colors: {
  custom: {
    50: '#cd7061',
    500: '#ab2f26',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f26;
$custom-light: #cd7061;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f26",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 38
  },
  "hsl": {
    "h": 4.06,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49578,
    "c": 0.162,
    "h": 28.6
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#AB2F26
secondary
#68BFC5
accent
#DBE741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2F26

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

Preview Lab → · Contrast checker → · Palette generator →

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