#AB2E27#AB2E27

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

Color values

HEX#AB2E27
RGBrgb(171, 46, 39)
HSLhsl(3, 63%, 41%)
HSVhsv(3, 77%, 67%)
CMYKcmyk(0%, 73.1%, 77.2%, 32.9%)
CIE-LABlab(39.18, 50.05, 34.45)
CIE-LCHlch(39.18, 60.76, 34.54°)
OKLaboklab(49.49% 0.1438 0.0762)
OKLCHoklch(49.49% 0.163 27.9)
XYZxyz(18.1399, 10.7612, 3.0410)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E27 #27A4AB
analogous
#AB2762 #AB2E27 #AB7027
triadic
#AB2E27 #27AB2E #2E27AB
tetradic
#AB2E27 #62AB27 #27A4AB #7027AB
square
#AB2E27 #62AB27 #27A4AB #7027AB
split-complementary
#AB2E27 #27AB70 #2762AB
monochromatic
#471310 #79211C #AB2E27 #D3453D #DE746E

Accessibility & contrast

On white

6.66
#AB2E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AB2E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E27
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E27#FFFFFF#000000##FFFFFF
##AB2E271.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B25
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2e27;
/* rgb */ color: rgb(171, 46, 39);
/* oklch */ color: oklch(49.5% 0.163 27.9);
Tailwind
colors: {
  custom: {
    50: '#cd7062',
    500: '#ab2e27',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e27;
$custom-light: #cd7062;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e27",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 3.182,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4949,
    "c": 0.16273,
    "h": 27.9
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#AB2E27
secondary
#69C0C5
accent
#DDE642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2E27

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

Preview Lab → · Contrast checker → · Palette generator →

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