#AB2947#AB2947

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

Color values

HEX#AB2947
RGBrgb(171, 41, 71)
HSLhsl(346, 61%, 42%)
HSVhsv(346, 76%, 67%)
CMYKcmyk(0%, 76%, 58.5%, 32.9%)
CIE-LABlab(39.07, 53.56, 14.68)
CIE-LCHlch(39.07, 55.54, 15.33°)
OKLaboklab(49.58% 0.1616 0.0365)
OKLCHoklch(49.58% 0.166 12.7)
XYZxyz(18.7267, 10.7014, 7.0395)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2947 #29AB8D
analogous
#AB2988 #AB2947 #AB4C29
triadic
#AB2947 #47AB29 #2947AB
tetradic
#AB2947 #88AB29 #29AB8D #4C29AB
square
#AB2947 #88AB29 #29AB8D #4C29AB
split-complementary
#AB2947 #29AB4C #2988AB
monochromatic
#48111E #7A1D33 #AB2947 #D14062 #DD718A

Accessibility & contrast

On white

6.69
#AB2947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB2947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2947
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2947#FFFFFF#000000##FFFFFF
##AB29471.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B47
Deuteranopia (green-blind)
#6D6644
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2947;
/* rgb */ color: rgb(171, 41, 71);
/* oklch */ color: oklch(49.6% 0.166 12.7);
Tailwind
colors: {
  custom: {
    50: '#cb6e79',
    500: '#ab2947',
    950: '#000000',
  },
}
SCSS
$custom: #ab2947;
$custom-light: #cb6e79;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2947",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 346.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.16564,
    "h": 12.7
  },
  "luminance": 0.10699
}

Semantic roles & 50–950 ramp

primary
#AB2947
secondary
#6CC4B0
accent
#E4BF43
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB2947

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

Preview Lab → · Contrast checker → · Palette generator →

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