#AB2B37#AB2B37

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

Color values

HEX#AB2B37
RGBrgb(171, 43, 55)
HSLhsl(354, 60%, 42%)
HSVhsv(354, 75%, 67%)
CMYKcmyk(0%, 74.9%, 67.8%, 32.9%)
CIE-LABlab(39.01, 51.87, 24.66)
CIE-LCHlch(39.01, 57.43, 25.42°)
OKLaboklab(49.44% 0.153 0.058)
OKLCHoklch(49.44% 0.164 20.7)
XYZxyz(18.3501, 10.6643, 4.7059)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B37 #2BAB9F
analogous
#AB2B77 #AB2B37 #AB5F2B
triadic
#AB2B37 #37AB2B #2B37AB
tetradic
#AB2B37 #77AB2B #2BAB9F #5F2BAB
square
#AB2B37 #77AB2B #2BAB9F #5F2BAB
split-complementary
#AB2B37 #2BAB5F #2B77AB
monochromatic
#491218 #7A1F27 #AB2B37 #D04351 #DC747E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2B37#FFFFFF#000000##FFFFFF
##AB2B371.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)
#504A36
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2b37;
/* rgb */ color: rgb(171, 43, 55);
/* oklch */ color: oklch(49.4% 0.164 20.7);
Tailwind
colors: {
  custom: {
    50: '#cc6f6d',
    500: '#ab2b37',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b37;
$custom-light: #cc6f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b37",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 55
  },
  "hsl": {
    "h": 354.375,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.16364,
    "h": 20.7
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#AB2B37
secondary
#6EC4BC
accent
#E3D445
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2B37

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

Preview Lab → · Contrast checker → · Palette generator →

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