#AB2639#AB2639

#AB2639 is a mid, vivid red. Relative luminance 0.103; OKLCH L 49.0% C 0.168 H 18.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AB2639
RGBrgb(171, 38, 57)
HSLhsl(351, 64%, 41%)
HSVhsv(351, 78%, 67%)
CMYKcmyk(0%, 77.8%, 66.7%, 32.9%)
CIE-LABlab(38.45, 53.64, 22.71)
CIE-LCHlch(38.45, 58.25, 22.94°)
OKLaboklab(49.03% 0.1591 0.0538)
OKLCHoklch(49.03% 0.168 18.7)
XYZxyz(18.2282, 10.3423, 4.9066)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2639 #26AB98
analogous
#AB267B #AB2639 #AB5626
triadic
#AB2639 #39AB26 #2639AB
tetradic
#AB2639 #7BAB26 #26AB98 #5626AB
square
#AB2639 #7BAB26 #26AB98 #5626AB
split-complementary
#AB2639 #26AB56 #267BAB
monochromatic
#471018 #791B28 #AB2639 #D33B51 #DF6D7D

Accessibility & contrast

On white

6.84
#AB2639 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AB2639 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2639
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2639#FFFFFF#000000##FFFFFF
##AB26391.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4939
Deuteranopia (green-blind)
#6E6535
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab2639;
/* rgb */ color: rgb(171, 38, 57);
/* oklch */ color: oklch(49.0% 0.168 18.7);
Tailwind
colors: {
  custom: {
    50: '#cc6d6f',
    500: '#ab2639',
    950: '#000000',
  },
}
SCSS
$custom: #ab2639;
$custom-light: #cc6d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2639",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 57
  },
  "hsl": {
    "h": 351.429,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49033,
    "c": 0.16798,
    "h": 18.7
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#AB2639
secondary
#68C5B8
accent
#E7CF41
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A

Preview Lab

Preview with #AB2639

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

Preview Lab → · Contrast checker → · Palette generator →

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