#AB2A40#AB2A40

#AB2A40 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.5% C 0.164 H 16.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AB2A40
RGBrgb(171, 42, 64)
HSLhsl(350, 61%, 42%)
HSVhsv(350, 75%, 67%)
CMYKcmyk(0%, 75.4%, 62.6%, 32.9%)
CIE-LABlab(39.05, 52.75, 19.08)
CIE-LCHlch(39.05, 56.09, 19.88°)
OKLaboklab(49.52% 0.1577 0.0463)
OKLCHoklch(49.52% 0.164 16.4)
XYZxyz(18.5499, 10.6868, 5.9355)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A40 #2AAB95
analogous
#AB2A81 #AB2A40 #AB542A
triadic
#AB2A40 #40AB2A #2A40AB
tetradic
#AB2A40 #81AB2A #2AAB95 #542AAB
square
#AB2A40 #81AB2A #2AAB95 #542AAB
split-complementary
#AB2A40 #2AAB54 #2A81AB
monochromatic
#49121B #7A1E2E #AB2A40 #D1425A #DD7385

Accessibility & contrast

On white

6.69
#AB2A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB2A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A40
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A40#FFFFFF#000000##FFFFFF
##AB2A401.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B40
Deuteranopia (green-blind)
#6F663C
Tritanopia (blue-blind)
#BC0033
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2a40;
/* rgb */ color: rgb(171, 42, 64);
/* oklch */ color: oklch(49.5% 0.164 16.4);
Tailwind
colors: {
  custom: {
    50: '#cb6f74',
    500: '#ab2a40',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a40;
$custom-light: #cb6f74;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a40",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 349.767,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49518,
    "c": 0.16435,
    "h": 16.4
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#AB2A40
secondary
#6DC4B5
accent
#E4C844
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2A40

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

Preview Lab → · Contrast checker → · Palette generator →

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