#AB2848#AB2848

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

Color values

HEX#AB2848
RGBrgb(171, 40, 72)
HSLhsl(345, 62%, 41%)
HSVhsv(345, 77%, 67%)
CMYKcmyk(0%, 76.6%, 57.9%, 32.9%)
CIE-LABlab(38.98, 53.96, 13.92)
CIE-LCHlch(38.98, 55.73, 14.46°)
OKLaboklab(49.52% 0.163 0.0347)
OKLCHoklch(49.52% 0.167 12)
XYZxyz(18.7249, 10.6461, 7.1985)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2848 #28AB8B
analogous
#AB288A #AB2848 #AB4A28
triadic
#AB2848 #48AB28 #2848AB
tetradic
#AB2848 #8AAB28 #28AB8B #4A28AB
square
#AB2848 #8AAB28 #28AB8B #4A28AB
split-complementary
#AB2848 #28AB4A #288AAB
monochromatic
#48111E #791C33 #AB2848 #D23E62 #DE708B

Accessibility & contrast

On white

6.71
#AB2848 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AB2848 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2848
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2848#FFFFFF#000000##FFFFFF
##AB28481.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4B48
Deuteranopia (green-blind)
#6D6545
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2848;
/* rgb */ color: rgb(171, 40, 72);
/* oklch */ color: oklch(49.5% 0.167 12.0);
Tailwind
colors: {
  custom: {
    50: '#cb6e7a',
    500: '#ab2848',
    950: '#000000',
  },
}
SCSS
$custom: #ab2848;
$custom-light: #cb6e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2848",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 345.344,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4952,
    "c": 0.16669,
    "h": 12
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#AB2848
secondary
#6AC4AE
accent
#E5BD43
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB2848

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

Preview Lab → · Contrast checker → · Palette generator →

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