#AB2F34#AB2F34

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

Color values

HEX#AB2F34
RGBrgb(171, 47, 52)
HSLhsl(358, 57%, 43%)
HSVhsv(358, 73%, 67%)
CMYKcmyk(0%, 72.5%, 69.6%, 32.9%)
CIE-LABlab(39.48, 50.27, 27.08)
CIE-LCHlch(39.48, 57.10, 28.31°)
OKLaboklab(49.77% 0.1473 0.0629)
OKLCHoklch(49.77% 0.16 23.1)
XYZxyz(18.4329, 10.9416, 4.3895)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F34 #2FABA6
analogous
#AB2F72 #AB2F34 #AB682F
triadic
#AB2F34 #34AB2F #2F34AB
tetradic
#AB2F34 #72AB2F #2FABA6 #682FAB
square
#AB2F34 #72AB2F #2FABA6 #682FAB
split-complementary
#AB2F34 #2FAB68 #2F72AB
monochromatic
#4B1517 #7B2225 #AB2F34 #CD4A4F #DA7A7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F34#FFFFFF#000000##FFFFFF
##AB2F341.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)
#524C33
Deuteranopia (green-blind)
#716730
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f34;
/* rgb */ color: rgb(171, 47, 52);
/* oklch */ color: oklch(49.8% 0.160 23.1);
Tailwind
colors: {
  custom: {
    50: '#cc716b',
    500: '#ab2f34',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f34;
$custom-light: #cc716b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f34",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 52
  },
  "hsl": {
    "h": 357.581,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.16015,
    "h": 23.1
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2F34

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

Preview Lab → · Contrast checker → · Palette generator →

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