#AB2C38#AB2C38

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

Color values

HEX#AB2C38
RGBrgb(171, 44, 56)
HSLhsl(354, 59%, 42%)
HSVhsv(354, 74%, 67%)
CMYKcmyk(0%, 74.3%, 67.3%, 32.9%)
CIE-LABlab(39.15, 51.58, 24.21)
CIE-LCHlch(39.15, 56.98, 25.15°)
OKLaboklab(49.55% 0.1523 0.0571)
OKLCHoklch(49.55% 0.163 20.6)
XYZxyz(18.4111, 10.7476, 4.8457)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C38 #2CAB9F
analogous
#AB2C77 #AB2C38 #AB602C
triadic
#AB2C38 #38AB2C #2C38AB
tetradic
#AB2C38 #77AB2C #2CAB9F #602CAB
square
#AB2C38 #77AB2C #2CAB9F #602CAB
split-complementary
#AB2C38 #2CAB60 #2C77AB
monochromatic
#4A1318 #7A1F28 #AB2C38 #CF4552 #DC767F

Accessibility & contrast

On white

6.67
#AB2C38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2C38
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C38#FFFFFF#000000##FFFFFF
##AB2C381.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B37
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2c38;
/* rgb */ color: rgb(171, 44, 56);
/* oklch */ color: oklch(49.5% 0.163 20.6);
Tailwind
colors: {
  custom: {
    50: '#cb6f6e',
    500: '#ab2c38',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c38;
$custom-light: #cb6f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c38",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 56
  },
  "hsl": {
    "h": 354.331,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49548,
    "c": 0.16266,
    "h": 20.6
  },
  "luminance": 0.10745
}

Semantic roles & 50–950 ramp

primary
#AB2C38
secondary
#6FC3BB
accent
#E2D346
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2C38

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

Preview Lab → · Contrast checker → · Palette generator →

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