#AB2847#AB2847

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

Color values

HEX#AB2847
RGBrgb(171, 40, 71)
HSLhsl(346, 62%, 41%)
HSVhsv(346, 77%, 67%)
CMYKcmyk(0%, 76.6%, 58.5%, 32.9%)
CIE-LABlab(38.96, 53.89, 14.52)
CIE-LCHlch(38.96, 55.81, 15.08°)
OKLaboklab(49.5% 0.1626 0.0361)
OKLCHoklch(49.5% 0.167 12.5)
XYZxyz(18.6926, 10.6332, 7.0281)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2847 #28AB8C
analogous
#AB2889 #AB2847 #AB4B28
triadic
#AB2847 #47AB28 #2847AB
tetradic
#AB2847 #89AB28 #28AB8C #4B28AB
square
#AB2847 #89AB28 #28AB8C #4B28AB
split-complementary
#AB2847 #28AB4B #2889AB
monochromatic
#48111E #791C32 #AB2847 #D23E61 #DE708A

Accessibility & contrast

On white

6.72
#AB2847 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2847
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2847#FFFFFF#000000##FFFFFF
##AB28471.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2847;
/* rgb */ color: rgb(171, 40, 71);
/* oklch */ color: oklch(49.5% 0.167 12.5);
Tailwind
colors: {
  custom: {
    50: '#cb6e79',
    500: '#ab2847',
    950: '#000000',
  },
}
SCSS
$custom: #ab2847;
$custom-light: #cb6e79;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2847",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 345.802,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49497,
    "c": 0.1666,
    "h": 12.5
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#AB2847
secondary
#6AC4AF
accent
#E5BF43
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB2847

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

Preview Lab → · Contrast checker → · Palette generator →

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