#AB2642#AB2642

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

Color values

HEX#AB2642
RGBrgb(171, 38, 66)
HSLhsl(347, 64%, 41%)
HSVhsv(347, 78%, 67%)
CMYKcmyk(0%, 77.8%, 61.4%, 32.9%)
CIE-LABlab(38.62, 54.19, 17.25)
CIE-LCHlch(38.62, 56.87, 17.66°)
OKLaboklab(49.22% 0.1627 0.0422)
OKLCHoklch(49.22% 0.168 14.5)
XYZxyz(18.4730, 10.4402, 6.1957)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2642 #26AB8F
analogous
#AB2684 #AB2642 #AB4C26
triadic
#AB2642 #42AB26 #2642AB
tetradic
#AB2642 #84AB26 #26AB8F #4C26AB
square
#AB2642 #84AB26 #26AB8F #4C26AB
split-complementary
#AB2642 #26AB4C #2684AB
monochromatic
#47101B #791B2F #AB2642 #D33B5B #DF6D85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2642#FFFFFF#000000##FFFFFF
##AB26421.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)
#4B4942
Deuteranopia (green-blind)
#6D653E
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2642;
/* rgb */ color: rgb(171, 38, 66);
/* oklch */ color: oklch(49.2% 0.168 14.5);
Tailwind
colors: {
  custom: {
    50: '#cb6d76',
    500: '#ab2642',
    950: '#000000',
  },
}
SCSS
$custom: #ab2642;
$custom-light: #cb6d76;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2642",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 66
  },
  "hsl": {
    "h": 347.368,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49215,
    "c": 0.16809,
    "h": 14.5
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#AB2642
secondary
#68C5B1
accent
#E7C441
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2642

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

Preview Lab → · Contrast checker → · Palette generator →

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