#AB3742#AB3742

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

Color values

HEX#AB3742
RGBrgb(171, 55, 66)
HSLhsl(354, 51%, 44%)
HSVhsv(354, 68%, 67%)
CMYKcmyk(0%, 67.8%, 61.4%, 32.9%)
CIE-LABlab(40.87, 47.95, 20.22)
CIE-LCHlch(40.87, 52.04, 22.86°)
OKLaboklab(50.89% 0.1427 0.0491)
OKLCHoklch(50.89% 0.151 19)
XYZxyz(19.1460, 11.7863, 6.4200)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3742 #37ABA0
analogous
#AB377C #AB3742 #AB6637
triadic
#AB3742 #42AB37 #3742AB
tetradic
#AB3742 #7CAB37 #37ABA0 #6637AB
square
#AB3742 #7CAB37 #37ABA0 #6637AB
split-complementary
#AB3742 #37AB66 #377CAB
monochromatic
#4E191E #7D2830 #AB3742 #C95661 #D8858D

Accessibility & contrast

On white

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

On black

3.36
#AB3742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB3742#FFFFFF#000000##FFFFFF
##AB37421.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555142
Deuteranopia (green-blind)
#73693F
Tritanopia (blue-blind)
#BB1C3C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3742;
/* rgb */ color: rgb(171, 55, 66);
/* oklch */ color: oklch(50.9% 0.151 19.0);
Tailwind
colors: {
  custom: {
    50: '#ca7576',
    500: '#ab3742',
    950: '#000000',
  },
}
SCSS
$custom: #ab3742;
$custom-light: #ca7576;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3742",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 66
  },
  "hsl": {
    "h": 354.31,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.15094,
    "h": 19
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#AB3742
secondary
#7CC1BB
accent
#DBCD4D
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140908
muted
#837B7B

Preview Lab

Preview with #AB3742

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

Preview Lab → · Contrast checker → · Palette generator →

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