#AB2741#AB2741

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

Color values

HEX#AB2741
RGBrgb(171, 39, 65)
HSLhsl(348, 63%, 41%)
HSVhsv(348, 77%, 67%)
CMYKcmyk(0%, 77.2%, 62%, 32.9%)
CIE-LABlab(38.71, 53.81, 18.01)
CIE-LCHlch(38.71, 56.74, 18.50°)
OKLaboklab(49.28% 0.1613 0.0439)
OKLCHoklch(49.28% 0.167 15.2)
XYZxyz(18.4762, 10.4934, 6.0525)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2741 #27AB91
analogous
#AB2783 #AB2741 #AB4F27
triadic
#AB2741 #41AB27 #2741AB
tetradic
#AB2741 #83AB27 #27AB91 #4F27AB
square
#AB2741 #83AB27 #27AB91 #4F27AB
split-complementary
#AB2741 #27AB4F #2783AB
monochromatic
#47101B #791C2E #AB2741 #D33D5A #DE6E84

Accessibility & contrast

On white

6.78
#AB2741 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AB2741 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2741
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2741#FFFFFF#000000##FFFFFF
##AB27411.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2741;
/* rgb */ color: rgb(171, 39, 65);
/* oklch */ color: oklch(49.3% 0.167 15.2);
Tailwind
colors: {
  custom: {
    50: '#cb6d75',
    500: '#ab2741',
    950: '#000000',
  },
}
SCSS
$custom: #ab2741;
$custom-light: #cb6d75;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2741",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 65
  },
  "hsl": {
    "h": 348.182,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.16715,
    "h": 15.2
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#AB2741
secondary
#69C5B3
accent
#E6C642
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2741

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

Preview Lab → · Contrast checker → · Palette generator →

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