#AB2F30#AB2F30

#AB2F30 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.161 H 24.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AB2F30
RGBrgb(171, 47, 48)
HSLhsl(360, 57%, 43%)
HSVhsv(360, 73%, 67%)
CMYKcmyk(0%, 72.5%, 71.9%, 32.9%)
CIE-LABlab(39.42, 50.07, 29.43)
CIE-LCHlch(39.42, 58.08, 30.45°)
OKLaboklab(49.71% 0.1458 0.0674)
OKLCHoklch(49.71% 0.161 24.8)
XYZxyz(18.3466, 10.9071, 3.9350)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F30 #2FABAA
analogous
#AB2F6E #AB2F30 #AB6C2F
triadic
#AB2F30 #30AB2F #2F30AB
tetradic
#AB2F30 #6EAB2F #2FABAA #6C2FAB
square
#AB2F30 #6EAB2F #2FABAA #6C2FAB
split-complementary
#AB2F30 #2FAB6C #2F6EAB
monochromatic
#4B1515 #7B2223 #AB2F30 #CD4A4B #DA7A7B

Accessibility & contrast

On white

6.60
#AB2F30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AB2F30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F30
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F30#FFFFFF#000000##FFFFFF
##AB2F301.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2F
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2f30;
/* rgb */ color: rgb(171, 47, 48);
/* oklch */ color: oklch(49.7% 0.161 24.8);
Tailwind
colors: {
  custom: {
    50: '#cc7168',
    500: '#ab2f30',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f30;
$custom-light: #cc7168;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f30",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 48
  },
  "hsl": {
    "h": 359.516,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49711,
    "c": 0.16059,
    "h": 24.8
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

primary
#AB2F30
secondary
#73C3C2
accent
#E0DF48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2F30

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

Preview Lab → · Contrast checker → · Palette generator →

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