#AB2837#AB2837

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

Color values

HEX#AB2837
RGBrgb(171, 40, 55)
HSLhsl(353, 62%, 41%)
HSVhsv(353, 77%, 67%)
CMYKcmyk(0%, 76.6%, 67.8%, 32.9%)
CIE-LABlab(38.65, 52.89, 24.20)
CIE-LCHlch(38.65, 58.16, 24.59°)
OKLaboklab(49.17% 0.1563 0.057)
OKLCHoklch(49.17% 0.166 20)
XYZxyz(18.2450, 10.4541, 4.6708)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2837 #28AB9C
analogous
#AB2879 #AB2837 #AB5B28
triadic
#AB2837 #37AB28 #2837AB
tetradic
#AB2837 #79AB28 #28AB9C #5B28AB
square
#AB2837 #79AB28 #28AB9C #5B28AB
split-complementary
#AB2837 #28AB5B #2879AB
monochromatic
#481117 #791C27 #AB2837 #D23E4F #DE707C

Accessibility & contrast

On white

6.80
#AB2837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB2837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2837
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2837#FFFFFF#000000##FFFFFF
##AB28371.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4937
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2837;
/* rgb */ color: rgb(171, 40, 55);
/* oklch */ color: oklch(49.2% 0.166 20.0);
Tailwind
colors: {
  custom: {
    50: '#cc6e6d',
    500: '#ab2837',
    950: '#000000',
  },
}
SCSS
$custom: #ab2837;
$custom-light: #cc6e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2837",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 353.13,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49167,
    "c": 0.16633,
    "h": 20
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#AB2837
secondary
#6AC4BA
accent
#E5D343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2837

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

Preview Lab → · Contrast checker → · Palette generator →

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