#AB2F47#AB2F47

#AB2F47 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.160 H 14.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB2F47
RGBrgb(171, 47, 71)
HSLhsl(348, 57%, 43%)
HSVhsv(348, 73%, 67%)
CMYKcmyk(0%, 72.5%, 58.5%, 32.9%)
CIE-LABlab(39.83, 51.45, 15.71)
CIE-LCHlch(39.83, 53.80, 16.97°)
OKLaboklab(50.14% 0.1548 0.0389)
OKLCHoklch(50.14% 0.16 14.1)
XYZxyz(18.9503, 11.1486, 7.1140)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F47 #2FAB93
analogous
#AB2F85 #AB2F47 #AB552F
triadic
#AB2F47 #47AB2F #2F47AB
tetradic
#AB2F47 #85AB2F #2FAB93 #552FAB
square
#AB2F47 #85AB2F #2FAB93 #552FAB
split-complementary
#AB2F47 #2FAB55 #2F85AB
monochromatic
#4B151F #7B2233 #AB2F47 #CD4A63 #DA7A8D

Accessibility & contrast

On white

6.50
#AB2F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB2F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F47
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F47#FFFFFF#000000##FFFFFF
##AB2F471.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E47
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#BB0C39
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f47;
/* rgb */ color: rgb(171, 47, 71);
/* oklch */ color: oklch(50.1% 0.160 14.1);
Tailwind
colors: {
  custom: {
    50: '#ca717a',
    500: '#ab2f47',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f47;
$custom-light: #ca717a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f47",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 71
  },
  "hsl": {
    "h": 348.387,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50144,
    "c": 0.15962,
    "h": 14.1
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#AB2F47
secondary
#73C3B3
accent
#E0C348
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2F47

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

Preview Lab → · Contrast checker → · Palette generator →

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