#AB2647#AB2647

#AB2647 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.168 H 12.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AB2647
RGBrgb(171, 38, 71)
HSLhsl(345, 64%, 41%)
HSVhsv(345, 78%, 67%)
CMYKcmyk(0%, 77.8%, 58.5%, 32.9%)
CIE-LABlab(38.73, 54.53, 14.22)
CIE-LCHlch(38.73, 56.35, 14.61°)
OKLaboklab(49.33% 0.1647 0.0354)
OKLCHoklch(49.33% 0.168 12.1)
XYZxyz(18.6269, 10.5018, 7.0062)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2647 #26AB8A
analogous
#AB2689 #AB2647 #AB4726
triadic
#AB2647 #47AB26 #2647AB
tetradic
#AB2647 #89AB26 #26AB8A #4726AB
square
#AB2647 #89AB26 #26AB8A #4726AB
split-complementary
#AB2647 #26AB47 #2689AB
monochromatic
#47101D #791B32 #AB2647 #D33B61 #DF6D89

Accessibility & contrast

On white

6.77
#AB2647 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AB2647 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2647
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2647#FFFFFF#000000##FFFFFF
##AB26471.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2647;
/* rgb */ color: rgb(171, 38, 71);
/* oklch */ color: oklch(49.3% 0.168 12.1);
Tailwind
colors: {
  custom: {
    50: '#cb6d79',
    500: '#ab2647',
    950: '#000000',
  },
}
SCSS
$custom: #ab2647;
$custom-light: #cb6d79;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2647",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 71
  },
  "hsl": {
    "h": 345.113,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49329,
    "c": 0.16845,
    "h": 12.1
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#AB2647
secondary
#68C5AE
accent
#E7BE41
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB2647

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

Preview Lab → · Contrast checker → · Palette generator →

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