#AB2F36#AB2F36

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

Color values

HEX#AB2F36
RGBrgb(171, 47, 54)
HSLhsl(357, 57%, 43%)
HSVhsv(357, 73%, 67%)
CMYKcmyk(0%, 72.5%, 68.4%, 32.9%)
CIE-LABlab(39.51, 50.38, 25.90)
CIE-LCHlch(39.51, 56.64, 27.20°)
OKLaboklab(49.81% 0.148 0.0606)
OKLCHoklch(49.81% 0.16 22.3)
XYZxyz(18.4790, 10.9600, 4.6318)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F36 #2FABA4
analogous
#AB2F74 #AB2F36 #AB662F
triadic
#AB2F36 #36AB2F #2F36AB
tetradic
#AB2F36 #74AB2F #2FABA4 #662FAB
square
#AB2F36 #74AB2F #2FABA4 #662FAB
split-complementary
#AB2F36 #2FAB66 #2F74AB
monochromatic
#4B1518 #7B2227 #AB2F36 #CD4A51 #DA7A7F

Accessibility & contrast

On white

6.58
#AB2F36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2F36
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F36#FFFFFF#000000##FFFFFF
##AB2F361.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C35
Deuteranopia (green-blind)
#716732
Tritanopia (blue-blind)
#BC0033
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f36;
/* rgb */ color: rgb(171, 47, 54);
/* oklch */ color: oklch(49.8% 0.160 22.3);
Tailwind
colors: {
  custom: {
    50: '#cb716d',
    500: '#ab2f36',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f36;
$custom-light: #cb716d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f36",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 54
  },
  "hsl": {
    "h": 356.613,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.15997,
    "h": 22.3
  },
  "luminance": 0.10957
}

Semantic roles & 50–950 ramp

primary
#AB2F36
secondary
#73C3BE
accent
#E0D848
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2F36

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

Preview Lab → · Contrast checker → · Palette generator →

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