#AB2F38#AB2F38

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

Color values

HEX#AB2F38
RGBrgb(171, 47, 56)
HSLhsl(356, 57%, 43%)
HSVhsv(356, 73%, 67%)
CMYKcmyk(0%, 72.5%, 67.3%, 32.9%)
CIE-LABlab(39.55, 50.49, 24.70)
CIE-LCHlch(39.55, 56.21, 26.07°)
OKLaboklab(49.84% 0.1488 0.0582)
OKLCHoklch(49.84% 0.16 21.4)
XYZxyz(18.5269, 10.9792, 4.8843)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F38 #2FABA2
analogous
#AB2F76 #AB2F38 #AB642F
triadic
#AB2F38 #38AB2F #2F38AB
tetradic
#AB2F38 #76AB2F #2FABA2 #642FAB
square
#AB2F38 #76AB2F #2FABA2 #642FAB
split-complementary
#AB2F38 #2FAB64 #2F76AB
monochromatic
#4B1519 #7B2228 #AB2F38 #CD4A53 #DA7A81

Accessibility & contrast

On white

6.57
#AB2F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2F38
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F38#FFFFFF#000000##FFFFFF
##AB2F381.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C37
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#BC0133
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f38;
/* rgb */ color: rgb(171, 47, 56);
/* oklch */ color: oklch(49.8% 0.160 21.4);
Tailwind
colors: {
  custom: {
    50: '#cb716e',
    500: '#ab2f38',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f38;
$custom-light: #cb716e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f38",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 56
  },
  "hsl": {
    "h": 355.645,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49841,
    "c": 0.15981,
    "h": 21.4
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#AB2F38
secondary
#73C3BD
accent
#E0D548
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2F38

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

Preview Lab → · Contrast checker → · Palette generator →

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