#AB3138#AB3138

#AB3138 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.158 H 21.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB3138
RGBrgb(171, 49, 56)
HSLhsl(357, 55%, 43%)
HSVhsv(357, 71%, 67%)
CMYKcmyk(0%, 71.3%, 67.3%, 32.9%)
CIE-LABlab(39.82, 49.73, 25.05)
CIE-LCHlch(39.82, 55.68, 26.73°)
OKLaboklab(50.05% 0.1464 0.059)
OKLCHoklch(50.05% 0.158 21.9)
XYZxyz(18.6087, 11.1428, 4.9115)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3138 #31ABA4
analogous
#AB3175 #AB3138 #AB6731
triadic
#AB3138 #38AB31 #3138AB
tetradic
#AB3138 #75AB31 #31ABA4 #6731AB
square
#AB3138 #75AB31 #31ABA4 #6731AB
split-complementary
#AB3138 #31AB67 #3175AB
monochromatic
#4C1619 #7B2328 #AB3138 #CC4D54 #DA7D82

Accessibility & contrast

On white

6.51
#AB3138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB3138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3138
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3138#FFFFFF#000000##FFFFFF
##AB31381.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D37
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#BC0835
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab3138;
/* rgb */ color: rgb(171, 49, 56);
/* oklch */ color: oklch(50.0% 0.158 21.9);
Tailwind
colors: {
  custom: {
    50: '#cb726e',
    500: '#ab3138',
    950: '#000000',
  },
}
SCSS
$custom: #ab3138;
$custom-light: #cb726e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3138",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 56
  },
  "hsl": {
    "h": 356.557,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50046,
    "c": 0.15785,
    "h": 21.9
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#AB3138
secondary
#75C2BE
accent
#DFD649
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB3138

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

Preview Lab → · Contrast checker → · Palette generator →

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