#AB3140#AB3140

#AB3140 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.157 H 18.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AB3140
RGBrgb(171, 49, 64)
HSLhsl(353, 55%, 43%)
HSVhsv(353, 71%, 67%)
CMYKcmyk(0%, 71.3%, 62.6%, 32.9%)
CIE-LABlab(39.96, 50.22, 20.27)
CIE-LCHlch(39.96, 54.15, 21.98°)
OKLaboklab(50.2% 0.1496 0.049)
OKLCHoklch(50.2% 0.157 18.1)
XYZxyz(18.8202, 11.2274, 6.0256)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3140 #31AB9C
analogous
#AB317D #AB3140 #AB5F31
triadic
#AB3140 #40AB31 #3140AB
tetradic
#AB3140 #7DAB31 #31AB9C #5F31AB
square
#AB3140 #7DAB31 #31AB9C #5F31AB
split-complementary
#AB3140 #31AB5F #317DAB
monochromatic
#4C161C #7B232E #AB3140 #CC4D5D #DA7D88

Accessibility & contrast

On white

6.47
#AB3140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AB3140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3140
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3140#FFFFFF#000000##FFFFFF
##AB31401.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E40
Deuteranopia (green-blind)
#71683D
Tritanopia (blue-blind)
#BB0E37
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab3140;
/* rgb */ color: rgb(171, 49, 64);
/* oklch */ color: oklch(50.2% 0.157 18.1);
Tailwind
colors: {
  custom: {
    50: '#cb7274',
    500: '#ab3140',
    950: '#000000',
  },
}
SCSS
$custom: #ab3140;
$custom-light: #cb7274;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3140",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 64
  },
  "hsl": {
    "h": 352.623,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.15742,
    "h": 18.1
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#AB3140
secondary
#75C2B9
accent
#DFCC49
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB3140

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

Preview Lab → · Contrast checker → · Palette generator →

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