#AB2840#AB2840

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

Color values

HEX#AB2840
RGBrgb(171, 40, 64)
HSLhsl(349, 62%, 41%)
HSVhsv(349, 77%, 67%)
CMYKcmyk(0%, 76.6%, 62.6%, 32.9%)
CIE-LABlab(38.81, 53.42, 18.76)
CIE-LCHlch(38.81, 56.62, 19.35°)
OKLaboklab(49.34% 0.1599 0.0456)
OKLCHoklch(49.34% 0.166 15.9)
XYZxyz(18.4807, 10.5484, 5.9124)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2840 #28AB93
analogous
#AB2882 #AB2840 #AB5228
triadic
#AB2840 #40AB28 #2840AB
tetradic
#AB2840 #82AB28 #28AB93 #5228AB
square
#AB2840 #82AB28 #28AB93 #5228AB
split-complementary
#AB2840 #28AB52 #2882AB
monochromatic
#48111B #791C2D #AB2840 #D23E59 #DE7084

Accessibility & contrast

On white

6.75
#AB2840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AB2840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2840
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2840#FFFFFF#000000##FFFFFF
##AB28401.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A40
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2840;
/* rgb */ color: rgb(171, 40, 64);
/* oklch */ color: oklch(49.3% 0.166 15.9);
Tailwind
colors: {
  custom: {
    50: '#cb6e74',
    500: '#ab2840',
    950: '#000000',
  },
}
SCSS
$custom: #ab2840;
$custom-light: #cb6e74;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2840",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 349.008,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.16621,
    "h": 15.9
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#AB2840
secondary
#6AC4B4
accent
#E5C743
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2840

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

Preview Lab → · Contrast checker → · Palette generator →

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