#AB2745#AB2745

#AB2745 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.167 H 13.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AB2745
RGBrgb(171, 39, 69)
HSLhsl(346, 63%, 41%)
HSVhsv(346, 77%, 67%)
CMYKcmyk(0%, 77.2%, 59.6%, 32.9%)
CIE-LABlab(38.80, 54.07, 15.58)
CIE-LCHlch(38.80, 56.27, 16.07°)
OKLaboklab(49.36% 0.1629 0.0385)
OKLCHoklch(49.36% 0.167 13.3)
XYZxyz(18.5962, 10.5414, 6.6846)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2745 #27AB8D
analogous
#AB2787 #AB2745 #AB4B27
triadic
#AB2745 #45AB27 #2745AB
tetradic
#AB2745 #87AB27 #27AB8D #4B27AB
square
#AB2745 #87AB27 #27AB8D #4B27AB
split-complementary
#AB2745 #27AB4B #2787AB
monochromatic
#47101D #791C31 #AB2745 #D33D5F #DE6E88

Accessibility & contrast

On white

6.76
#AB2745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AB2745 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2745
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2745#FFFFFF#000000##FFFFFF
##AB27451.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4A45
Deuteranopia (green-blind)
#6D6542
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2745;
/* rgb */ color: rgb(171, 39, 69);
/* oklch */ color: oklch(49.4% 0.167 13.3);
Tailwind
colors: {
  custom: {
    50: '#cb6e78',
    500: '#ab2745',
    950: '#000000',
  },
}
SCSS
$custom: #ab2745;
$custom-light: #cb6e78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2745",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 69
  },
  "hsl": {
    "h": 346.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49365,
    "c": 0.16737,
    "h": 13.3
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#AB2745
secondary
#69C5B0
accent
#E6C142
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2745

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

Preview Lab → · Contrast checker → · Palette generator →

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