#AB2846#AB2846

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

Color values

HEX#AB2846
RGBrgb(171, 40, 70)
HSLhsl(346, 62%, 41%)
HSVhsv(346, 77%, 67%)
CMYKcmyk(0%, 76.6%, 59.1%, 32.9%)
CIE-LABlab(38.93, 53.82, 15.13)
CIE-LCHlch(38.93, 55.91, 15.70°)
OKLaboklab(49.47% 0.1623 0.0375)
OKLCHoklch(49.47% 0.167 13)
XYZxyz(18.6607, 10.6204, 6.8605)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2846 #28AB8D
analogous
#AB2888 #AB2846 #AB4C28
triadic
#AB2846 #46AB28 #2846AB
tetradic
#AB2846 #88AB28 #28AB8D #4C28AB
square
#AB2846 #88AB28 #28AB8D #4C28AB
split-complementary
#AB2846 #28AB4C #2888AB
monochromatic
#48111D #791C32 #AB2846 #D23E60 #DE7089

Accessibility & contrast

On white

6.72
#AB2846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2846
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2846#FFFFFF#000000##FFFFFF
##AB28461.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4A46
Deuteranopia (green-blind)
#6D6543
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2846;
/* rgb */ color: rgb(171, 40, 70);
/* oklch */ color: oklch(49.5% 0.167 13.0);
Tailwind
colors: {
  custom: {
    50: '#cb6e79',
    500: '#ab2846',
    950: '#000000',
  },
}
SCSS
$custom: #ab2846;
$custom-light: #cb6e79;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2846",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 70
  },
  "hsl": {
    "h": 346.26,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49473,
    "c": 0.16652,
    "h": 13
  },
  "luminance": 0.10618
}

Semantic roles & 50–950 ramp

primary
#AB2846
secondary
#6AC4B0
accent
#E5C043
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB2846

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

Preview Lab → · Contrast checker → · Palette generator →

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