#AB2845#AB2845

#AB2845 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.166 H 13.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AB2845
RGBrgb(171, 40, 69)
HSLhsl(347, 62%, 41%)
HSVhsv(347, 77%, 67%)
CMYKcmyk(0%, 76.6%, 59.6%, 32.9%)
CIE-LABlab(38.91, 53.75, 15.73)
CIE-LCHlch(38.91, 56.01, 16.32°)
OKLaboklab(49.45% 0.1619 0.0388)
OKLCHoklch(49.45% 0.166 13.5)
XYZxyz(18.6294, 10.6079, 6.6956)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2845 #28AB8E
analogous
#AB2887 #AB2845 #AB4D28
triadic
#AB2845 #45AB28 #2845AB
tetradic
#AB2845 #87AB28 #28AB8E #4D28AB
square
#AB2845 #87AB28 #28AB8E #4D28AB
split-complementary
#AB2845 #28AB4D #2887AB
monochromatic
#48111D #791C31 #AB2845 #D23E5F #DE7088

Accessibility & contrast

On white

6.73
#AB2845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AB2845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2845
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2845#FFFFFF#000000##FFFFFF
##AB28451.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4A45
Deuteranopia (green-blind)
#6D6542
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2845;
/* rgb */ color: rgb(171, 40, 69);
/* oklch */ color: oklch(49.5% 0.166 13.5);
Tailwind
colors: {
  custom: {
    50: '#cb6e78',
    500: '#ab2845',
    950: '#000000',
  },
}
SCSS
$custom: #ab2845;
$custom-light: #cb6e78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2845",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 346.718,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.16645,
    "h": 13.5
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#AB2845
secondary
#6AC4B0
accent
#E5C143
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2845

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

Preview Lab → · Contrast checker → · Palette generator →

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