#AB2B38#AB2B38

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

Color values

HEX#AB2B38
RGBrgb(171, 43, 56)
HSLhsl(354, 60%, 42%)
HSVhsv(354, 75%, 67%)
CMYKcmyk(0%, 74.9%, 67.3%, 32.9%)
CIE-LABlab(39.03, 51.93, 24.06)
CIE-LCHlch(39.03, 57.23, 24.86°)
OKLaboklab(49.46% 0.1534 0.0568)
OKLCHoklch(49.46% 0.164 20.3)
XYZxyz(18.3743, 10.6740, 4.8334)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B38 #2BAB9E
analogous
#AB2B78 #AB2B38 #AB5E2B
triadic
#AB2B38 #38AB2B #2B38AB
tetradic
#AB2B38 #78AB2B #2BAB9E #5E2BAB
square
#AB2B38 #78AB2B #2BAB9E #5E2BAB
split-complementary
#AB2B38 #2BAB5E #2B78AB
monochromatic
#491218 #7A1F28 #AB2B38 #D04352 #DC747F

Accessibility & contrast

On white

6.70
#AB2B38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AB2B38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B38
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B38#FFFFFF#000000##FFFFFF
##AB2B381.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2b38;
/* rgb */ color: rgb(171, 43, 56);
/* oklch */ color: oklch(49.5% 0.164 20.3);
Tailwind
colors: {
  custom: {
    50: '#cc6f6e',
    500: '#ab2b38',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b38;
$custom-light: #cc6f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b38",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 56
  },
  "hsl": {
    "h": 353.906,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49455,
    "c": 0.16358,
    "h": 20.3
  },
  "luminance": 0.10671
}

Semantic roles & 50–950 ramp

primary
#AB2B38
secondary
#6EC4BB
accent
#E3D345
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2B38

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

Preview Lab → · Contrast checker → · Palette generator →

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