#AB2545#AB2545

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

Color values

HEX#AB2545
RGBrgb(171, 37, 69)
HSLhsl(346, 64%, 41%)
HSVhsv(346, 78%, 67%)
CMYKcmyk(0%, 78.4%, 59.6%, 32.9%)
CIE-LABlab(38.57, 54.70, 15.28)
CIE-LCHlch(38.57, 56.79, 15.61°)
OKLaboklab(49.2% 0.1649 0.0378)
OKLCHoklch(49.2% 0.169 12.9)
XYZxyz(18.5322, 10.4135, 6.6632)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2545 #25AB8B
analogous
#AB2588 #AB2545 #AB4825
triadic
#AB2545 #45AB25 #2545AB
tetradic
#AB2545 #88AB25 #25AB8B #4825AB
square
#AB2545 #88AB25 #25AB8B #4825AB
split-complementary
#AB2545 #25AB48 #2588AB
monochromatic
#460F1C #791A31 #AB2545 #D4395E #DF6B87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2545#FFFFFF#000000##FFFFFF
##AB25451.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)
#4A4945
Deuteranopia (green-blind)
#6D6541
Tritanopia (blue-blind)
#BB0033
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2545;
/* rgb */ color: rgb(171, 37, 69);
/* oklch */ color: oklch(49.2% 0.169 12.9);
Tailwind
colors: {
  custom: {
    50: '#cb6d78',
    500: '#ab2545',
    950: '#000000',
  },
}
SCSS
$custom: #ab2545;
$custom-light: #cb6d78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2545",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 69
  },
  "hsl": {
    "h": 345.672,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.16917,
    "h": 12.9
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#AB2545
secondary
#67C5AF
accent
#E7C040
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AB2545

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

Preview Lab → · Contrast checker → · Palette generator →

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