#AB2F33#AB2F33

#AB2F33 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.160 H 23.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AB2F33
RGBrgb(171, 47, 51)
HSLhsl(358, 57%, 43%)
HSVhsv(358, 73%, 67%)
CMYKcmyk(0%, 72.5%, 70.2%, 32.9%)
CIE-LABlab(39.47, 50.22, 27.67)
CIE-LCHlch(39.47, 57.34, 28.86°)
OKLaboklab(49.76% 0.1469 0.0641)
OKLCHoklch(49.76% 0.16 23.6)
XYZxyz(18.4107, 10.9327, 4.2721)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F33 #2FABA7
analogous
#AB2F71 #AB2F33 #AB692F
triadic
#AB2F33 #33AB2F #2F33AB
tetradic
#AB2F33 #71AB2F #2FABA7 #692FAB
square
#AB2F33 #71AB2F #2FABA7 #692FAB
split-complementary
#AB2F33 #2FAB69 #2F71AB
monochromatic
#4B1516 #7B2225 #AB2F33 #CD4A4E #DA7A7D

Accessibility & contrast

On white

6.59
#AB2F33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB2F33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F33
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F33#FFFFFF#000000##FFFFFF
##AB2F331.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C32
Deuteranopia (green-blind)
#71672F
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f33;
/* rgb */ color: rgb(171, 47, 51);
/* oklch */ color: oklch(49.8% 0.160 23.6);
Tailwind
colors: {
  custom: {
    50: '#cc716a',
    500: '#ab2f33',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f33;
$custom-light: #cc716a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f33",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 51
  },
  "hsl": {
    "h": 358.065,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49758,
    "c": 0.16026,
    "h": 23.6
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#AB2F33
secondary
#73C3C0
accent
#E0DB48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2F33

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

Preview Lab → · Contrast checker → · Palette generator →

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