#AB4050#AB4050

#AB4050 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.3% C 0.140 H 14.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB4050
RGBrgb(171, 64, 80)
HSLhsl(351, 46%, 46%)
HSVhsv(351, 63%, 67%)
CMYKcmyk(0%, 62.6%, 53.2%, 32.9%)
CIE-LABlab(42.62, 45.10, 13.88)
CIE-LCHlch(42.62, 47.19, 17.11°)
OKLaboklab(52.29% 0.1359 0.035)
OKLCHoklch(52.29% 0.14 14.4)
XYZxyz(20.0776, 12.9064, 9.0218)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4050 #40AB9B
analogous
#AB4085 #AB4050 #AB6540
triadic
#AB4050 #50AB40 #4050AB
tetradic
#AB4050 #85AB40 #40AB9B #6540AB
square
#AB4050 #85AB40 #40AB9B #6540AB
split-complementary
#AB4050 #40AB65 #4085AB
monochromatic
#521F26 #7E2F3B #AB4050 #C56372 #D5909A

Accessibility & contrast

On white

5.86
#AB4050 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB4050 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4050
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4050#FFFFFF#000000##FFFFFF
##AB40501.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595750
Deuteranopia (green-blind)
#746D4D
Tritanopia (blue-blind)
#BA2E46
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab4050;
/* rgb */ color: rgb(171, 64, 80);
/* oklch */ color: oklch(52.3% 0.140 14.4);
Tailwind
colors: {
  custom: {
    50: '#c97a80',
    500: '#ab4050',
    950: '#000000',
  },
}
SCSS
$custom: #ab4050;
$custom-light: #c97a80;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4050",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 80
  },
  "hsl": {
    "h": 351.028,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52291,
    "c": 0.14032,
    "h": 14.4
  },
  "luminance": 0.12904
}

Semantic roles & 50–950 ramp

primary
#AB4050
secondary
#86C1B8
accent
#D5C253
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AB4050

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

Preview Lab → · Contrast checker → · Palette generator →

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