#AB3940#AB3940

#AB3940 is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.1% C 0.149 H 20.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB3940
RGBrgb(171, 57, 64)
HSLhsl(356, 50%, 45%)
HSVhsv(356, 67%, 67%)
CMYKcmyk(0%, 66.7%, 62.6%, 32.9%)
CIE-LABlab(41.15, 46.97, 21.81)
CIE-LCHlch(41.15, 51.79, 24.90°)
OKLaboklab(51.08% 0.1393 0.0525)
OKLCHoklch(51.08% 0.149 20.7)
XYZxyz(19.1850, 11.9570, 6.1472)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3940 #39ABA4
analogous
#AB3979 #AB3940 #AB6B39
triadic
#AB3940 #40AB39 #3940AB
tetradic
#AB3940 #79AB39 #39ABA4 #6B39AB
square
#AB3940 #79AB39 #39ABA4 #6B39AB
split-complementary
#AB3940 #39AB6B #3979AB
monochromatic
#4F1A1E #7D2A2F #AB3940 #C85960 #D7878C

Accessibility & contrast

On white

6.19
#AB3940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB3940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3940
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3940#FFFFFF#000000##FFFFFF
##AB39401.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57523F
Deuteranopia (green-blind)
#746A3D
Tritanopia (blue-blind)
#BB1F3C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3940;
/* rgb */ color: rgb(171, 57, 64);
/* oklch */ color: oklch(51.1% 0.149 20.7);
Tailwind
colors: {
  custom: {
    50: '#ca7674',
    500: '#ab3940',
    950: '#000000',
  },
}
SCSS
$custom: #ab3940;
$custom-light: #ca7674;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3940",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 64
  },
  "hsl": {
    "h": 356.316,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51082,
    "c": 0.14884,
    "h": 20.7
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

primary
#AB3940
secondary
#7FC1BD
accent
#DAD14E
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140908
muted
#837B7B

Preview Lab

Preview with #AB3940

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

Preview Lab → · Contrast checker → · Palette generator →

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