#AB4148#AB4148

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

Color values

HEX#AB4148
RGBrgb(171, 65, 72)
HSLhsl(356, 45%, 46%)
HSVhsv(356, 62%, 67%)
CMYKcmyk(0%, 62%, 57.9%, 32.9%)
CIE-LABlab(42.63, 43.98, 18.82)
CIE-LCHlch(42.63, 47.84, 23.17°)
OKLaboklab(52.24% 0.1312 0.0463)
OKLCHoklch(52.24% 0.139 19.4)
XYZxyz(19.8563, 12.9090, 7.5757)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4148 #41ABA4
analogous
#AB417D #AB4148 #AB6F41
triadic
#AB4148 #48AB41 #4148AB
tetradic
#AB4148 #7DAB41 #41ABA4 #6F41AB
square
#AB4148 #7DAB41 #41ABA4 #6F41AB
split-complementary
#AB4148 #41AB6F #417DAB
monochromatic
#521F23 #7F3035 #AB4148 #C4656B #D59196

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4148#FFFFFF#000000##FFFFFF
##AB41481.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)
#5B5748
Deuteranopia (green-blind)
#766D45
Tritanopia (blue-blind)
#BB2E44
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab4148;
/* rgb */ color: rgb(171, 65, 72);
/* oklch */ color: oklch(52.2% 0.139 19.4);
Tailwind
colors: {
  custom: {
    50: '#ca7a7a',
    500: '#ab4148',
    950: '#000000',
  },
}
SCSS
$custom: #ab4148;
$custom-light: #ca7a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4148",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 72
  },
  "hsl": {
    "h": 356.038,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.13912,
    "h": 19.4
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#AB4148
secondary
#87C1BD
accent
#D5CC53
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A09
muted
#837C7B

Preview Lab

Preview with #AB4148

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

Preview Lab → · Contrast checker → · Palette generator →

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