#AB2945#AB2945

#AB2945 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.5% C 0.166 H 13.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AB2945
RGBrgb(171, 41, 69)
HSLhsl(347, 61%, 42%)
HSVhsv(347, 76%, 67%)
CMYKcmyk(0%, 76%, 59.6%, 32.9%)
CIE-LABlab(39.03, 53.42, 15.89)
CIE-LCHlch(39.03, 55.73, 16.57°)
OKLaboklab(49.54% 0.1608 0.0392)
OKLCHoklch(49.54% 0.166 13.7)
XYZxyz(18.6636, 10.6762, 6.7070)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2945 #29AB8F
analogous
#AB2986 #AB2945 #AB4E29
triadic
#AB2945 #45AB29 #2945AB
tetradic
#AB2945 #86AB29 #29AB8F #4E29AB
square
#AB2945 #86AB29 #29AB8F #4E29AB
split-complementary
#AB2945 #29AB4E #2986AB
monochromatic
#48111D #7A1D31 #AB2945 #D1405F #DD7189

Accessibility & contrast

On white

6.70
#AB2945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2945
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2945#FFFFFF#000000##FFFFFF
##AB29451.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B45
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2945;
/* rgb */ color: rgb(171, 41, 69);
/* oklch */ color: oklch(49.5% 0.166 13.7);
Tailwind
colors: {
  custom: {
    50: '#cb6e78',
    500: '#ab2945',
    950: '#000000',
  },
}
SCSS
$custom: #ab2945;
$custom-light: #cb6e78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2945",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 69
  },
  "hsl": {
    "h": 347.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49537,
    "c": 0.1655,
    "h": 13.7
  },
  "luminance": 0.10673
}

Semantic roles & 50–950 ramp

primary
#AB2945
secondary
#6CC4B1
accent
#E4C243
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2945

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

Preview Lab → · Contrast checker → · Palette generator →

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