#AB2748#AB2748

#AB2748 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.168 H 11.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AB2748
RGBrgb(171, 39, 72)
HSLhsl(345, 63%, 41%)
HSVhsv(345, 77%, 67%)
CMYKcmyk(0%, 77.2%, 57.9%, 32.9%)
CIE-LABlab(38.86, 54.28, 13.76)
CIE-LCHlch(38.86, 56.00, 14.23°)
OKLaboklab(49.44% 0.1641 0.0343)
OKLCHoklch(49.44% 0.168 11.8)
XYZxyz(18.6916, 10.5796, 7.1875)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2748 #27AB8A
analogous
#AB278A #AB2748 #AB4827
triadic
#AB2748 #48AB27 #2748AB
tetradic
#AB2748 #8AAB27 #27AB8A #4827AB
square
#AB2748 #8AAB27 #27AB8A #4827AB
split-complementary
#AB2748 #27AB48 #278AAB
monochromatic
#47101E #791C33 #AB2748 #D33D62 #DE6E8A

Accessibility & contrast

On white

6.74
#AB2748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2748
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2748#FFFFFF#000000##FFFFFF
##AB27481.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4A48
Deuteranopia (green-blind)
#6D6545
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2748;
/* rgb */ color: rgb(171, 39, 72);
/* oklch */ color: oklch(49.4% 0.168 11.8);
Tailwind
colors: {
  custom: {
    50: '#cb6e7a',
    500: '#ab2748',
    950: '#000000',
  },
}
SCSS
$custom: #ab2748;
$custom-light: #cb6e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2748",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 72
  },
  "hsl": {
    "h": 345,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49436,
    "c": 0.16763,
    "h": 11.8
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#AB2748
secondary
#69C5AE
accent
#E6BD42
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB2748

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

Preview Lab → · Contrast checker → · Palette generator →

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