#AB3947#AB3947

#AB3947 is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.2% C 0.149 H 17.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AB3947
RGBrgb(171, 57, 71)
HSLhsl(353, 50%, 45%)
HSVhsv(353, 67%, 67%)
CMYKcmyk(0%, 66.7%, 58.5%, 32.9%)
CIE-LABlab(41.28, 47.47, 17.65)
CIE-LCHlch(41.28, 50.64, 20.40°)
OKLaboklab(51.23% 0.1421 0.0435)
OKLCHoklch(51.23% 0.149 17)
XYZxyz(19.3968, 12.0417, 7.2629)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3947 #39AB9D
analogous
#AB3980 #AB3947 #AB6439
triadic
#AB3947 #47AB39 #3947AB
tetradic
#AB3947 #80AB39 #39AB9D #6439AB
square
#AB3947 #80AB39 #39AB9D #6439AB
split-complementary
#AB3947 #39AB64 #3980AB
monochromatic
#4F1A21 #7D2A34 #AB3947 #C85967 #D78791

Accessibility & contrast

On white

6.16
#AB3947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AB3947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3947
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3947#FFFFFF#000000##FFFFFF
##AB39471.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565247
Deuteranopia (green-blind)
#736A44
Tritanopia (blue-blind)
#BB213F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3947;
/* rgb */ color: rgb(171, 57, 71);
/* oklch */ color: oklch(51.2% 0.149 17.0);
Tailwind
colors: {
  custom: {
    50: '#ca767a',
    500: '#ab3947',
    950: '#000000',
  },
}
SCSS
$custom: #ab3947;
$custom-light: #ca767a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3947",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 71
  },
  "hsl": {
    "h": 352.632,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51227,
    "c": 0.14858,
    "h": 17
  },
  "luminance": 0.12039
}

Semantic roles & 50–950 ramp

primary
#AB3947
secondary
#7FC1B9
accent
#DAC84E
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140909
muted
#837B7B

Preview Lab

Preview with #AB3947

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

Preview Lab → · Contrast checker → · Palette generator →

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