#AB2F35#AB2F35

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

Color values

HEX#AB2F35
RGBrgb(171, 47, 53)
HSLhsl(357, 57%, 43%)
HSVhsv(357, 73%, 67%)
CMYKcmyk(0%, 72.5%, 69%, 32.9%)
CIE-LABlab(39.50, 50.32, 26.49)
CIE-LCHlch(39.50, 56.87, 27.76°)
OKLaboklab(49.79% 0.1477 0.0618)
OKLCHoklch(49.79% 0.16 22.7)
XYZxyz(18.4557, 10.9507, 4.5094)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F35 #2FABA5
analogous
#AB2F73 #AB2F35 #AB672F
triadic
#AB2F35 #35AB2F #2F35AB
tetradic
#AB2F35 #73AB2F #2FABA5 #672FAB
square
#AB2F35 #73AB2F #2FABA5 #672FAB
split-complementary
#AB2F35 #2FAB67 #2F73AB
monochromatic
#4B1517 #7B2226 #AB2F35 #CD4A50 #DA7A7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F35#FFFFFF#000000##FFFFFF
##AB2F351.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)
#524C34
Deuteranopia (green-blind)
#716731
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f35;
/* rgb */ color: rgb(171, 47, 53);
/* oklch */ color: oklch(49.8% 0.160 22.7);
Tailwind
colors: {
  custom: {
    50: '#cc716c',
    500: '#ab2f35',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f35;
$custom-light: #cc716c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f35",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 53
  },
  "hsl": {
    "h": 357.097,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.16005,
    "h": 22.7
  },
  "luminance": 0.10948
}

Semantic roles & 50–950 ramp

primary
#AB2F35
secondary
#73C3BF
accent
#E0D948
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2F35

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

Preview Lab → · Contrast checker → · Palette generator →

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