#AB2740#AB2740

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

Color values

HEX#AB2740
RGBrgb(171, 39, 64)
HSLhsl(349, 63%, 41%)
HSVhsv(349, 77%, 67%)
CMYKcmyk(0%, 77.2%, 62.6%, 32.9%)
CIE-LABlab(38.69, 53.74, 18.61)
CIE-LCHlch(38.69, 56.87, 19.10°)
OKLaboklab(49.26% 0.1609 0.0452)
OKLCHoklch(49.26% 0.167 15.7)
XYZxyz(18.4474, 10.4819, 5.9013)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2740 #27AB92
analogous
#AB2782 #AB2740 #AB5027
triadic
#AB2740 #40AB27 #2740AB
tetradic
#AB2740 #82AB27 #27AB92 #5027AB
square
#AB2740 #82AB27 #27AB92 #5027AB
split-complementary
#AB2740 #27AB50 #2782AB
monochromatic
#47101B #791C2D #AB2740 #D33D59 #DE6E84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2740#FFFFFF#000000##FFFFFF
##AB27401.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)
#4C4A40
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2740;
/* rgb */ color: rgb(171, 39, 64);
/* oklch */ color: oklch(49.3% 0.167 15.7);
Tailwind
colors: {
  custom: {
    50: '#cb6d74',
    500: '#ab2740',
    950: '#000000',
  },
}
SCSS
$custom: #ab2740;
$custom-light: #cb6d74;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2740",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 348.636,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.16712,
    "h": 15.7
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2740

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

Preview Lab → · Contrast checker → · Palette generator →

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