#AB2940#AB2940

#AB2940 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.165 H 16.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AB2940
RGBrgb(171, 41, 64)
HSLhsl(349, 61%, 42%)
HSVhsv(349, 76%, 67%)
CMYKcmyk(0%, 76%, 62.6%, 32.9%)
CIE-LABlab(38.93, 53.09, 18.92)
CIE-LCHlch(38.93, 56.36, 19.61°)
OKLaboklab(49.43% 0.1588 0.0459)
OKLCHoklch(49.43% 0.165 16.1)
XYZxyz(18.5149, 10.6167, 5.9238)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2940 #29AB94
analogous
#AB2981 #AB2940 #AB5329
triadic
#AB2940 #40AB29 #2940AB
tetradic
#AB2940 #81AB29 #29AB94 #5329AB
square
#AB2940 #81AB29 #29AB94 #5329AB
split-complementary
#AB2940 #29AB53 #2981AB
monochromatic
#48111B #7A1D2E #AB2940 #D1405A #DD7184

Accessibility & contrast

On white

6.72
#AB2940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AB2940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2940
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2940#FFFFFF#000000##FFFFFF
##AB29401.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2940;
/* rgb */ color: rgb(171, 41, 64);
/* oklch */ color: oklch(49.4% 0.165 16.1);
Tailwind
colors: {
  custom: {
    50: '#cb6e74',
    500: '#ab2940',
    950: '#000000',
  },
}
SCSS
$custom: #ab2940;
$custom-light: #cb6e74;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2940",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 349.385,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49428,
    "c": 0.16528,
    "h": 16.1
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#AB2940
secondary
#6CC4B4
accent
#E4C843
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2940

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

Preview Lab → · Contrast checker → · Palette generator →

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