#AB2747#AB2747

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

Color values

HEX#AB2747
RGBrgb(171, 39, 71)
HSLhsl(345, 63%, 41%)
HSVhsv(345, 77%, 67%)
CMYKcmyk(0%, 77.2%, 58.5%, 32.9%)
CIE-LABlab(38.84, 54.21, 14.37)
CIE-LCHlch(38.84, 56.08, 14.84°)
OKLaboklab(49.41% 0.1637 0.0357)
OKLCHoklch(49.41% 0.168 12.3)
XYZxyz(18.6593, 10.5666, 7.0170)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2747 #27AB8B
analogous
#AB2789 #AB2747 #AB4927
triadic
#AB2747 #47AB27 #2747AB
tetradic
#AB2747 #89AB27 #27AB8B #4927AB
square
#AB2747 #89AB27 #27AB8B #4927AB
split-complementary
#AB2747 #27AB49 #2789AB
monochromatic
#47101E #791C32 #AB2747 #D33D61 #DE6E89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2747#FFFFFF#000000##FFFFFF
##AB27471.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)
#4B4A47
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2747;
/* rgb */ color: rgb(171, 39, 71);
/* oklch */ color: oklch(49.4% 0.168 12.3);
Tailwind
colors: {
  custom: {
    50: '#cb6e79',
    500: '#ab2747',
    950: '#000000',
  },
}
SCSS
$custom: #ab2747;
$custom-light: #cb6e79;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2747",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 71
  },
  "hsl": {
    "h": 345.455,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49412,
    "c": 0.16753,
    "h": 12.3
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#AB2747
secondary
#69C5AE
accent
#E6BE42
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB2747

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

Preview Lab → · Contrast checker → · Palette generator →

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