#AB2543#AB2543

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

Color values

HEX#AB2543
RGBrgb(171, 37, 67)
HSLhsl(347, 64%, 41%)
HSVhsv(347, 78%, 67%)
CMYKcmyk(0%, 78.4%, 60.8%, 32.9%)
CIE-LABlab(38.53, 54.56, 16.49)
CIE-LCHlch(38.53, 57.00, 16.82°)
OKLaboklab(49.16% 0.1641 0.0405)
OKLCHoklch(49.16% 0.169 13.9)
XYZxyz(18.4712, 10.3891, 6.3418)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2543 #25AB8D
analogous
#AB2586 #AB2543 #AB4A25
triadic
#AB2543 #43AB25 #2543AB
tetradic
#AB2543 #86AB25 #25AB8D #4A25AB
square
#AB2543 #86AB25 #25AB8D #4A25AB
split-complementary
#AB2543 #25AB4A #2586AB
monochromatic
#460F1C #791A2F #AB2543 #D4395C #DF6B85

Accessibility & contrast

On white

6.82
#AB2543 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2543
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2543#FFFFFF#000000##FFFFFF
##AB25431.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4943
Deuteranopia (green-blind)
#6D653F
Tritanopia (blue-blind)
#BB0032
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2543;
/* rgb */ color: rgb(171, 37, 67);
/* oklch */ color: oklch(49.2% 0.169 13.9);
Tailwind
colors: {
  custom: {
    50: '#cb6d76',
    500: '#ab2543',
    950: '#000000',
  },
}
SCSS
$custom: #ab2543;
$custom-light: #cb6d76;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2543",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 67
  },
  "hsl": {
    "h": 346.567,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.16903,
    "h": 13.9
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#AB2543
secondary
#67C5B0
accent
#E7C240
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AB2543

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

Preview Lab → · Contrast checker → · Palette generator →

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