#AB2A48#AB2A48

#AB2A48 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.165 H 12.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AB2A48
RGBrgb(171, 42, 72)
HSLhsl(346, 61%, 42%)
HSVhsv(346, 75%, 67%)
CMYKcmyk(0%, 75.4%, 57.9%, 32.9%)
CIE-LABlab(39.21, 53.30, 14.24)
CIE-LCHlch(39.21, 55.17, 14.96°)
OKLaboklab(49.7% 0.1609 0.0355)
OKLCHoklch(49.7% 0.165 12.4)
XYZxyz(18.7941, 10.7844, 7.2216)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A48 #2AAB8D
analogous
#AB2A88 #AB2A48 #AB4D2A
triadic
#AB2A48 #48AB2A #2A48AB
tetradic
#AB2A48 #88AB2A #2AAB8D #4D2AAB
square
#AB2A48 #88AB2A #2AAB8D #4D2AAB
split-complementary
#AB2A48 #2AAB4D #2A88AB
monochromatic
#49121F #7A1E33 #AB2A48 #D14263 #DD738B

Accessibility & contrast

On white

6.65
#AB2A48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB2A48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A48
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A48#FFFFFF#000000##FFFFFF
##AB2A481.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2a48;
/* rgb */ color: rgb(171, 42, 72);
/* oklch */ color: oklch(49.7% 0.165 12.4);
Tailwind
colors: {
  custom: {
    50: '#cb6f7a',
    500: '#ab2a48',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a48;
$custom-light: #cb6f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a48",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 72
  },
  "hsl": {
    "h": 346.047,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49696,
    "c": 0.16476,
    "h": 12.4
  },
  "luminance": 0.10782
}

Semantic roles & 50–950 ramp

primary
#AB2A48
secondary
#6DC4B0
accent
#E4BF44
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2A48

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

Preview Lab → · Contrast checker → · Palette generator →

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