#AB2746#AB2746

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

Color values

HEX#AB2746
RGBrgb(171, 39, 70)
HSLhsl(346, 63%, 41%)
HSVhsv(346, 77%, 67%)
CMYKcmyk(0%, 77.2%, 59.1%, 32.9%)
CIE-LABlab(38.82, 54.14, 14.97)
CIE-LCHlch(38.82, 56.18, 15.46°)
OKLaboklab(49.39% 0.1633 0.0371)
OKLCHoklch(49.39% 0.167 12.8)
XYZxyz(18.6275, 10.5539, 6.8494)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2746 #27AB8C
analogous
#AB2788 #AB2746 #AB4A27
triadic
#AB2746 #46AB27 #2746AB
tetradic
#AB2746 #88AB27 #27AB8C #4A27AB
square
#AB2746 #88AB27 #27AB8C #4A27AB
split-complementary
#AB2746 #27AB4A #2788AB
monochromatic
#47101D #791C32 #AB2746 #D33D60 #DE6E89

Accessibility & contrast

On white

6.75
#AB2746 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2746
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2746#FFFFFF#000000##FFFFFF
##AB27461.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2746;
/* rgb */ color: rgb(171, 39, 70);
/* oklch */ color: oklch(49.4% 0.167 12.8);
Tailwind
colors: {
  custom: {
    50: '#cb6e79',
    500: '#ab2746',
    950: '#000000',
  },
}
SCSS
$custom: #ab2746;
$custom-light: #cb6e79;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2746",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 70
  },
  "hsl": {
    "h": 345.909,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49388,
    "c": 0.16745,
    "h": 12.8
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#AB2746
secondary
#69C5AF
accent
#E6BF42
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB2746

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

Preview Lab → · Contrast checker → · Palette generator →

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