#AB2B27#AB2B27

#AB2B27 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.165 H 27.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AB2B27
RGBrgb(171, 43, 39)
HSLhsl(2, 63%, 41%)
HSVhsv(2, 77%, 67%)
CMYKcmyk(0%, 74.9%, 77.2%, 32.9%)
CIE-LABlab(38.79, 51.13, 34.03)
CIE-LCHlch(38.79, 61.42, 33.65°)
OKLaboklab(49.2% 0.1472 0.0753)
OKLCHoklch(49.2% 0.165 27.1)
XYZxyz(18.0268, 10.5350, 3.0033)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B27 #27A7AB
analogous
#AB2765 #AB2B27 #AB6D27
triadic
#AB2B27 #27AB2B #2B27AB
tetradic
#AB2B27 #65AB27 #27A7AB #6D27AB
square
#AB2B27 #65AB27 #27A7AB #6D27AB
split-complementary
#AB2B27 #27AB6D #2765AB
monochromatic
#471210 #791E1C #AB2B27 #D3413D #DE726E

Accessibility & contrast

On white

6.76
#AB2B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AB2B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B27
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B27#FFFFFF#000000##FFFFFF
##AB2B271.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A25
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2b27;
/* rgb */ color: rgb(171, 43, 39);
/* oklch */ color: oklch(49.2% 0.165 27.1);
Tailwind
colors: {
  custom: {
    50: '#cd6f62',
    500: '#ab2b27',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b27;
$custom-light: #cd6f62;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b27",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 39
  },
  "hsl": {
    "h": 1.818,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49199,
    "c": 0.16532,
    "h": 27.1
  },
  "luminance": 0.10532
}

Semantic roles & 50–950 ramp

primary
#AB2B27
secondary
#69C2C5
accent
#E1E642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2B27

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

Preview Lab → · Contrast checker → · Palette generator →

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