#AB2F3B#AB2F3B

#AB2F3B is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.160 H 20.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB2F3B
RGBrgb(171, 47, 59)
HSLhsl(354, 57%, 43%)
HSVhsv(354, 73%, 67%)
CMYKcmyk(0%, 72.5%, 65.5%, 32.9%)
CIE-LABlab(39.60, 50.66, 22.91)
CIE-LCHlch(39.60, 55.60, 24.34°)
OKLaboklab(49.9% 0.15 0.0545)
OKLCHoklch(49.9% 0.16 20)
XYZxyz(18.6025, 11.0094, 5.2823)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F3B #2FAB9F
analogous
#AB2F79 #AB2F3B #AB612F
triadic
#AB2F3B #3BAB2F #2F3BAB
tetradic
#AB2F3B #79AB2F #2FAB9F #612FAB
square
#AB2F3B #79AB2F #2FAB9F #612FAB
split-complementary
#AB2F3B #2FAB61 #2F79AB
monochromatic
#4B151A #7B222A #AB2F3B #CD4A57 #DA7A83

Accessibility & contrast

On white

6.56
#AB2F3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB2F3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F3B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F3B#FFFFFF#000000##FFFFFF
##AB2F3B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3B
Deuteranopia (green-blind)
#716737
Tritanopia (blue-blind)
#BC0334
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f3b;
/* rgb */ color: rgb(171, 47, 59);
/* oklch */ color: oklch(49.9% 0.160 20.0);
Tailwind
colors: {
  custom: {
    50: '#cb7170',
    500: '#ab2f3b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f3b;
$custom-light: #cb7170;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f3b",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 59
  },
  "hsl": {
    "h": 354.194,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.15962,
    "h": 20
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#AB2F3B
secondary
#73C3BB
accent
#E0D148
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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