#AB2942#AB2942

#AB2942 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.165 H 15.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AB2942
RGBrgb(171, 41, 66)
HSLhsl(348, 61%, 42%)
HSVhsv(348, 76%, 67%)
CMYKcmyk(0%, 76%, 61.4%, 32.9%)
CIE-LABlab(38.97, 53.22, 17.71)
CIE-LCHlch(38.97, 56.09, 18.40°)
OKLaboklab(49.47% 0.1596 0.0433)
OKLCHoklch(49.47% 0.165 15.2)
XYZxyz(18.5728, 10.6399, 6.2289)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2942 #29AB92
analogous
#AB2983 #AB2942 #AB5129
triadic
#AB2942 #42AB29 #2942AB
tetradic
#AB2942 #83AB29 #29AB92 #5129AB
square
#AB2942 #83AB29 #29AB92 #5129AB
split-complementary
#AB2942 #29AB51 #2983AB
monochromatic
#48111C #7A1D2F #AB2942 #D1405C #DD7186

Accessibility & contrast

On white

6.71
#AB2942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AB2942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2942
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2942#FFFFFF#000000##FFFFFF
##AB29421.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4B42
Deuteranopia (green-blind)
#6E663E
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2942;
/* rgb */ color: rgb(171, 41, 66);
/* oklch */ color: oklch(49.5% 0.165 15.2);
Tailwind
colors: {
  custom: {
    50: '#cb6e76',
    500: '#ab2942',
    950: '#000000',
  },
}
SCSS
$custom: #ab2942;
$custom-light: #cb6e76;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2942",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 66
  },
  "hsl": {
    "h": 348.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.16535,
    "h": 15.2
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#AB2942
secondary
#6CC4B3
accent
#E4C543
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2942

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

Preview Lab → · Contrast checker → · Palette generator →

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