#AB3840#AB3840

#AB3840 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.0% C 0.150 H 20.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB3840
RGBrgb(171, 56, 64)
HSLhsl(356, 51%, 45%)
HSVhsv(356, 67%, 67%)
CMYKcmyk(0%, 67.3%, 62.6%, 32.9%)
CIE-LABlab(40.99, 47.40, 21.60)
CIE-LCHlch(40.99, 52.09, 24.50°)
OKLaboklab(50.97% 0.1406 0.0521)
OKLCHoklch(50.97% 0.15 20.3)
XYZxyz(19.1361, 11.8591, 6.1309)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3840 #38ABA3
analogous
#AB387A #AB3840 #AB6A38
triadic
#AB3840 #40AB38 #3840AB
tetradic
#AB3840 #7AAB38 #38ABA3 #6A38AB
square
#AB3840 #7AAB38 #38ABA3 #6A38AB
split-complementary
#AB3840 #38AB6A #387AAB
monochromatic
#4F1A1D #7D292F #AB3840 #C85860 #D7868C

Accessibility & contrast

On white

6.23
#AB3840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB3840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3840
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3840#FFFFFF#000000##FFFFFF
##AB38401.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56513F
Deuteranopia (green-blind)
#736A3D
Tritanopia (blue-blind)
#BB1D3C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3840;
/* rgb */ color: rgb(171, 56, 64);
/* oklch */ color: oklch(51.0% 0.150 20.3);
Tailwind
colors: {
  custom: {
    50: '#ca7574',
    500: '#ab3840',
    950: '#000000',
  },
}
SCSS
$custom: #ab3840;
$custom-light: #ca7574;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3840",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 355.826,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.14994,
    "h": 20.3
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#AB3840
secondary
#7DC1BD
accent
#DAD04E
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140908
muted
#837B7B

Preview Lab

Preview with #AB3840

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

Preview Lab → · Contrast checker → · Palette generator →

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