#AB2841#AB2841

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

Color values

HEX#AB2841
RGBrgb(171, 40, 65)
HSLhsl(349, 62%, 41%)
HSVhsv(349, 77%, 67%)
CMYKcmyk(0%, 76.6%, 62%, 32.9%)
CIE-LABlab(38.83, 53.48, 18.16)
CIE-LCHlch(38.83, 56.48, 18.75°)
OKLaboklab(49.36% 0.1603 0.0442)
OKLCHoklch(49.36% 0.166 15.4)
XYZxyz(18.5094, 10.5599, 6.0636)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2841 #28AB92
analogous
#AB2883 #AB2841 #AB5128
triadic
#AB2841 #41AB28 #2841AB
tetradic
#AB2841 #83AB28 #28AB92 #5128AB
square
#AB2841 #83AB28 #28AB92 #5128AB
split-complementary
#AB2841 #28AB51 #2883AB
monochromatic
#48111B #791C2E #AB2841 #D23E5A #DE7085

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2841#FFFFFF#000000##FFFFFF
##AB28411.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)
#4D4A41
Deuteranopia (green-blind)
#6E653D
Tritanopia (blue-blind)
#BC0033
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2841;
/* rgb */ color: rgb(171, 40, 65);
/* oklch */ color: oklch(49.4% 0.166 15.4);
Tailwind
colors: {
  custom: {
    50: '#cb6e75',
    500: '#ab2841',
    950: '#000000',
  },
}
SCSS
$custom: #ab2841;
$custom-light: #cb6e75;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2841",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 65
  },
  "hsl": {
    "h": 348.55,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.16624,
    "h": 15.4
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#AB2841
secondary
#6AC4B3
accent
#E5C643
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2841

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

Preview Lab → · Contrast checker → · Palette generator →

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