#AB2B47#AB2B47

#AB2B47 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.164 H 13.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AB2B47
RGBrgb(171, 43, 71)
HSLhsl(347, 60%, 42%)
HSVhsv(347, 75%, 67%)
CMYKcmyk(0%, 74.9%, 58.5%, 32.9%)
CIE-LABlab(39.32, 52.88, 15.01)
CIE-LCHlch(39.32, 54.97, 15.85°)
OKLaboklab(49.76% 0.1594 0.0373)
OKLCHoklch(49.76% 0.164 13.2)
XYZxyz(18.7976, 10.8433, 7.0632)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B47 #2BAB8F
analogous
#AB2B87 #AB2B47 #AB4F2B
triadic
#AB2B47 #47AB2B #2B47AB
tetradic
#AB2B47 #87AB2B #2BAB8F #4F2BAB
square
#AB2B47 #87AB2B #2BAB8F #4F2BAB
split-complementary
#AB2B47 #2BAB4F #2B87AB
monochromatic
#49121E #7A1F33 #AB2B47 #D04362 #DC748B

Accessibility & contrast

On white

6.63
#AB2B47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AB2B47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B47
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B47#FFFFFF#000000##FFFFFF
##AB2B471.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C47
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#BB0037
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2b47;
/* rgb */ color: rgb(171, 43, 71);
/* oklch */ color: oklch(49.8% 0.164 13.2);
Tailwind
colors: {
  custom: {
    50: '#cb6f79',
    500: '#ab2b47',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b47;
$custom-light: #cb6f79;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b47",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 71
  },
  "hsl": {
    "h": 346.875,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49763,
    "c": 0.1637,
    "h": 13.2
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#AB2B47
secondary
#6EC4B1
accent
#E3C045
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB2B47

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

Preview Lab → · Contrast checker → · Palette generator →

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