#AB4030#AB4030

#AB4030 is a mid, vivid red. Relative luminance 0.125; OKLCH L 51.7% C 0.144 H 31.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AB4030
RGBrgb(171, 64, 48)
HSLhsl(8, 56%, 43%)
HSVhsv(8, 72%, 67%)
CMYKcmyk(0%, 62.6%, 71.9%, 32.9%)
CIE-LABlab(42.06, 42.92, 32.49)
CIE-LCHlch(42.06, 53.83, 37.13°)
OKLaboklab(51.69% 0.1233 0.0741)
OKLCHoklch(51.69% 0.144 31)
XYZxyz(19.1635, 12.5408, 4.2072)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4030 #309BAB
analogous
#AB305D #AB4030 #AB7D30
triadic
#AB4030 #30AB40 #4030AB
tetradic
#AB4030 #5DAB30 #309BAB #7D30AB
square
#AB4030 #5DAB30 #309BAB #7D30AB
split-complementary
#AB4030 #30AB7D #305DAB
monochromatic
#4B1C15 #7B2E23 #AB4030 #CD5C4C #DA887B

Accessibility & contrast

On white

5.99
#AB4030 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB4030 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4030
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4030#FFFFFF#000000##FFFFFF
##AB40301.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D552E
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#BC273D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab4030;
/* rgb */ color: rgb(171, 64, 48);
/* oklch */ color: oklch(51.7% 0.144 31.0);
Tailwind
colors: {
  custom: {
    50: '#cb7969',
    500: '#ab4030',
    950: '#000000',
  },
}
SCSS
$custom: #ab4030;
$custom-light: #cb7969;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4030",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 48
  },
  "hsl": {
    "h": 7.805,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.14384,
    "h": 31
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#AB4030
secondary
#74B8C3
accent
#CCDF48
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AB4030

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

Preview Lab → · Contrast checker → · Palette generator →

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