#AB3838#AB3838

#AB3838 is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.8% C 0.151 H 24.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AB3838
RGBrgb(171, 56, 56)
HSLhsl(0, 51%, 45%)
HSVhsv(0, 67%, 67%)
CMYKcmyk(0%, 67.3%, 67.3%, 32.9%)
CIE-LABlab(40.86, 46.90, 26.33)
CIE-LCHlch(40.86, 53.78, 29.31°)
OKLaboklab(50.82% 0.1374 0.0618)
OKLCHoklch(50.82% 0.151 24.2)
XYZxyz(18.9245, 11.7745, 5.0168)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3838 #38ABAB
analogous
#AB3872 #AB3838 #AB7238
triadic
#AB3838 #38AB38 #3838AB
tetradic
#AB3838 #72AB38 #38ABAB #7238AB
square
#AB3838 #72AB38 #38ABAB #7238AB
split-complementary
#AB3838 #38AB72 #3872AB
monochromatic
#4F1A1A #7D2929 #AB3838 #C85858 #D78686

Accessibility & contrast

On white

6.26
#AB3838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB3838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3838
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3838#FFFFFF#000000##FFFFFF
##AB38381.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575137
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#BC1B39
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3838;
/* rgb */ color: rgb(171, 56, 56);
/* oklch */ color: oklch(50.8% 0.151 24.2);
Tailwind
colors: {
  custom: {
    50: '#cb756e',
    500: '#ab3838',
    950: '#000000',
  },
}
SCSS
$custom: #ab3838;
$custom-light: #cb756e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3838",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 56
  },
  "hsl": {
    "h": 0,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.15071,
    "h": 24.2
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

primary
#AB3838
secondary
#7DC1C1
accent
#DADA4E
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AB3838

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

Preview Lab → · Contrast checker → · Palette generator →

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