#AB2A30#AB2A30

#AB2A30 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.165 H 23.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AB2A30
RGBrgb(171, 42, 48)
HSLhsl(357, 61%, 42%)
HSVhsv(357, 75%, 67%)
CMYKcmyk(0%, 75.4%, 71.9%, 32.9%)
CIE-LABlab(38.78, 51.86, 28.67)
CIE-LCHlch(38.78, 59.26, 28.94°)
OKLaboklab(49.23% 0.1515 0.0657)
OKLCHoklch(49.23% 0.165 23.5)
XYZxyz(18.1581, 10.5300, 3.8721)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A30 #2AABA5
analogous
#AB2A71 #AB2A30 #AB652A
triadic
#AB2A30 #30AB2A #2A30AB
tetradic
#AB2A30 #71AB2A #2AABA5 #652AAB
square
#AB2A30 #71AB2A #2AABA5 #652AAB
split-complementary
#AB2A30 #2AAB65 #2A71AB
monochromatic
#491214 #7A1E22 #AB2A30 #D14248 #DD7378

Accessibility & contrast

On white

6.76
#AB2A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AB2A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A30
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A30#FFFFFF#000000##FFFFFF
##AB2A301.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A2F
Deuteranopia (green-blind)
#70652C
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a30;
/* rgb */ color: rgb(171, 42, 48);
/* oklch */ color: oklch(49.2% 0.165 23.5);
Tailwind
colors: {
  custom: {
    50: '#cc6e68',
    500: '#ab2a30',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a30;
$custom-light: #cc6e68;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a30",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 48
  },
  "hsl": {
    "h": 357.209,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4923,
    "c": 0.1651,
    "h": 23.5
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#AB2A30
secondary
#6DC4C0
accent
#E4DC44
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2A30

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

Preview Lab → · Contrast checker → · Palette generator →

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