#AB2546#AB2546

#AB2546 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.169 H 12.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB2546
RGBrgb(171, 37, 70)
HSLhsl(345, 64%, 41%)
HSVhsv(345, 78%, 67%)
CMYKcmyk(0%, 78.4%, 59.1%, 32.9%)
CIE-LABlab(38.60, 54.77, 14.67)
CIE-LCHlch(38.60, 56.70, 15.00°)
OKLaboklab(49.22% 0.1653 0.0364)
OKLCHoklch(49.22% 0.169 12.4)
XYZxyz(18.5635, 10.4260, 6.8281)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2546 #25AB8A
analogous
#AB2589 #AB2546 #AB4725
triadic
#AB2546 #46AB25 #2546AB
tetradic
#AB2546 #89AB25 #25AB8A #4725AB
square
#AB2546 #89AB25 #25AB8A #4725AB
split-complementary
#AB2546 #25AB47 #2589AB
monochromatic
#460F1D #791A31 #AB2546 #D4395F #DF6B88

Accessibility & contrast

On white

6.81
#AB2546 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AB2546 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2546
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2546#FFFFFF#000000##FFFFFF
##AB25461.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4946
Deuteranopia (green-blind)
#6D6543
Tritanopia (blue-blind)
#BB0033
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2546;
/* rgb */ color: rgb(171, 37, 70);
/* oklch */ color: oklch(49.2% 0.169 12.4);
Tailwind
colors: {
  custom: {
    50: '#cb6d79',
    500: '#ab2546',
    950: '#000000',
  },
}
SCSS
$custom: #ab2546;
$custom-light: #cb6d79;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2546",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 70
  },
  "hsl": {
    "h": 345.224,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49224,
    "c": 0.16926,
    "h": 12.4
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#AB2546
secondary
#67C5AE
accent
#E7BE40
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AB2546

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

Preview Lab → · Contrast checker → · Palette generator →

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