#AB2541#AB2541

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

Color values

HEX#AB2541
RGBrgb(171, 37, 65)
HSLhsl(347, 64%, 41%)
HSVhsv(347, 78%, 67%)
CMYKcmyk(0%, 78.4%, 62%, 32.9%)
CIE-LABlab(38.49, 54.43, 17.71)
CIE-LCHlch(38.49, 57.24, 18.02°)
OKLaboklab(49.11% 0.1633 0.0432)
OKLCHoklch(49.11% 0.169 14.8)
XYZxyz(18.4122, 10.3655, 6.0312)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2541 #25AB8F
analogous
#AB2584 #AB2541 #AB4C25
triadic
#AB2541 #41AB25 #2541AB
tetradic
#AB2541 #84AB25 #25AB8F #4C25AB
square
#AB2541 #84AB25 #25AB8F #4C25AB
split-complementary
#AB2541 #25AB4C #2584AB
monochromatic
#460F1B #791A2E #AB2541 #D43959 #DF6B84

Accessibility & contrast

On white

6.83
#AB2541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AB2541 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2541
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2541#FFFFFF#000000##FFFFFF
##AB25411.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4941
Deuteranopia (green-blind)
#6D653D
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2541;
/* rgb */ color: rgb(171, 37, 65);
/* oklch */ color: oklch(49.1% 0.169 14.8);
Tailwind
colors: {
  custom: {
    50: '#cb6d75',
    500: '#ab2541',
    950: '#000000',
  },
}
SCSS
$custom: #ab2541;
$custom-light: #cb6d75;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2541",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 347.463,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.16892,
    "h": 14.8
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#AB2541
secondary
#67C5B1
accent
#E7C540
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AB2541

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

Preview Lab → · Contrast checker → · Palette generator →

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