#AB2640#AB2640

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

Color values

HEX#AB2640
RGBrgb(171, 38, 64)
HSLhsl(348, 64%, 41%)
HSVhsv(348, 78%, 67%)
CMYKcmyk(0%, 77.8%, 62.6%, 32.9%)
CIE-LABlab(38.58, 54.06, 18.46)
CIE-LCHlch(38.58, 57.13, 18.86°)
OKLaboklab(49.17% 0.1619 0.0449)
OKLCHoklch(49.17% 0.168 15.5)
XYZxyz(18.4150, 10.4171, 5.8905)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2640 #26AB91
analogous
#AB2682 #AB2640 #AB4F26
triadic
#AB2640 #40AB26 #2640AB
tetradic
#AB2640 #82AB26 #26AB91 #4F26AB
square
#AB2640 #82AB26 #26AB91 #4F26AB
split-complementary
#AB2640 #26AB4F #2682AB
monochromatic
#47101B #791B2D #AB2640 #D33B59 #DF6D83

Accessibility & contrast

On white

6.81
#AB2640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AB2640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2640
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2640#FFFFFF#000000##FFFFFF
##AB26401.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2640;
/* rgb */ color: rgb(171, 38, 64);
/* oklch */ color: oklch(49.2% 0.168 15.5);
Tailwind
colors: {
  custom: {
    50: '#cb6d74',
    500: '#ab2640',
    950: '#000000',
  },
}
SCSS
$custom: #ab2640;
$custom-light: #cb6d74;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2640",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 348.271,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.16801,
    "h": 15.5
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#AB2640
secondary
#68C5B3
accent
#E7C641
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AB2640

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

Preview Lab → · Contrast checker → · Palette generator →

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