#AB3042#AB3042

#AB3042 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.1% C 0.158 H 16.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB3042
RGBrgb(171, 48, 66)
HSLhsl(351, 56%, 43%)
HSVhsv(351, 72%, 67%)
CMYKcmyk(0%, 71.9%, 61.4%, 32.9%)
CIE-LABlab(39.86, 50.73, 18.89)
CIE-LCHlch(39.86, 54.13, 20.42°)
OKLaboklab(50.14% 0.1516 0.046)
OKLCHoklch(50.14% 0.158 16.9)
XYZxyz(18.8368, 11.1679, 6.3169)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3042 #30AB99
analogous
#AB307F #AB3042 #AB5C30
triadic
#AB3042 #42AB30 #3042AB
tetradic
#AB3042 #7FAB30 #30AB99 #5C30AB
square
#AB3042 #7FAB30 #30AB99 #5C30AB
split-complementary
#AB3042 #30AB5C #307FAB
monochromatic
#4B151D #7B2330 #AB3042 #CD4C5E #DA7B89

Accessibility & contrast

On white

6.50
#AB3042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3042
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3042#FFFFFF#000000##FFFFFF
##AB30421.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E42
Deuteranopia (green-blind)
#70673F
Tritanopia (blue-blind)
#BB0C38
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab3042;
/* rgb */ color: rgb(171, 48, 66);
/* oklch */ color: oklch(50.1% 0.158 16.9);
Tailwind
colors: {
  custom: {
    50: '#cb7176',
    500: '#ab3042',
    950: '#000000',
  },
}
SCSS
$custom: #ab3042;
$custom-light: #cb7176;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3042",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 66
  },
  "hsl": {
    "h": 351.22,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.15843,
    "h": 16.9
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#AB3042
secondary
#74C3B7
accent
#DFC948
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB3042

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

Preview Lab → · Contrast checker → · Palette generator →

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