#AB2645#AB2645

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

Color values

HEX#AB2645
RGBrgb(171, 38, 69)
HSLhsl(346, 64%, 41%)
HSVhsv(346, 78%, 67%)
CMYKcmyk(0%, 77.8%, 59.6%, 32.9%)
CIE-LABlab(38.68, 54.39, 15.43)
CIE-LCHlch(38.68, 56.54, 15.84°)
OKLaboklab(49.28% 0.1639 0.0381)
OKLCHoklch(49.28% 0.168 13.1)
XYZxyz(18.5638, 10.4766, 6.6738)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2645 #26AB8C
analogous
#AB2687 #AB2645 #AB4926
triadic
#AB2645 #45AB26 #2645AB
tetradic
#AB2645 #87AB26 #26AB8C #4926AB
square
#AB2645 #87AB26 #26AB8C #4926AB
split-complementary
#AB2645 #26AB49 #2687AB
monochromatic
#47101D #791B31 #AB2645 #D33B5E #DF6D87

Accessibility & contrast

On white

6.79
#AB2645 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2645
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2645#FFFFFF#000000##FFFFFF
##AB26451.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4A45
Deuteranopia (green-blind)
#6D6542
Tritanopia (blue-blind)
#BB0033
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2645;
/* rgb */ color: rgb(171, 38, 69);
/* oklch */ color: oklch(49.3% 0.168 13.1);
Tailwind
colors: {
  custom: {
    50: '#cb6d78',
    500: '#ab2645',
    950: '#000000',
  },
}
SCSS
$custom: #ab2645;
$custom-light: #cb6d78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2645",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 69
  },
  "hsl": {
    "h": 346.015,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.16828,
    "h": 13.1
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#AB2645
secondary
#68C5AF
accent
#E7C041
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2645

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

Preview Lab → · Contrast checker → · Palette generator →

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