#AB2B48#AB2B48

#AB2B48 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.164 H 12.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AB2B48
RGBrgb(171, 43, 72)
HSLhsl(346, 60%, 42%)
HSVhsv(346, 75%, 67%)
CMYKcmyk(0%, 74.9%, 57.9%, 32.9%)
CIE-LABlab(39.34, 52.96, 14.41)
CIE-LCHlch(39.34, 54.88, 15.22°)
OKLaboklab(49.79% 0.1598 0.0359)
OKLCHoklch(49.79% 0.164 12.7)
XYZxyz(18.8300, 10.8563, 7.2336)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B48 #2BAB8E
analogous
#AB2B88 #AB2B48 #AB4E2B
triadic
#AB2B48 #48AB2B #2B48AB
tetradic
#AB2B48 #88AB2B #2BAB8E #4E2BAB
square
#AB2B48 #88AB2B #2BAB8E #4E2BAB
split-complementary
#AB2B48 #2BAB4E #2B88AB
monochromatic
#49121F #7A1F33 #AB2B48 #D04363 #DC748C

Accessibility & contrast

On white

6.62
#AB2B48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AB2B48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B48
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B48#FFFFFF#000000##FFFFFF
##AB2B481.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C48
Deuteranopia (green-blind)
#6E6645
Tritanopia (blue-blind)
#BB0037
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2b48;
/* rgb */ color: rgb(171, 43, 72);
/* oklch */ color: oklch(49.8% 0.164 12.7);
Tailwind
colors: {
  custom: {
    50: '#cb6f7a',
    500: '#ab2b48',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b48;
$custom-light: #cb6f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b48",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 72
  },
  "hsl": {
    "h": 346.406,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49786,
    "c": 0.16378,
    "h": 12.7
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#AB2B48
secondary
#6EC4B0
accent
#E3BF45
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2B48

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

Preview Lab → · Contrast checker → · Palette generator →

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