#AB3333#AB3333

#AB3333 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.2% C 0.156 H 24.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AB3333
RGBrgb(171, 51, 51)
HSLhsl(0, 54%, 44%)
HSVhsv(0, 70%, 67%)
CMYKcmyk(0%, 70.2%, 70.2%, 32.9%)
CIE-LABlab(40.03, 48.68, 28.34)
CIE-LCHlch(40.03, 56.33, 30.21°)
OKLaboklab(50.18% 0.142 0.0655)
OKLCHoklch(50.18% 0.156 24.8)
XYZxyz(18.5780, 11.2673, 4.3279)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3333 #33ABAB
analogous
#AB336F #AB3333 #AB6F33
triadic
#AB3333 #33AB33 #3333AB
tetradic
#AB3333 #6FAB33 #33ABAB #6F33AB
square
#AB3333 #6FAB33 #33ABAB #6F33AB
split-complementary
#AB3333 #33AB6F #336FAB
monochromatic
#4D1717 #7C2525 #AB3333 #CB5050 #D97F7F

Accessibility & contrast

On white

6.46
#AB3333 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AB3333 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3333
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3333#FFFFFF#000000##FFFFFF
##AB33331.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E32
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#BC0C34
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab3333;
/* rgb */ color: rgb(171, 51, 51);
/* oklch */ color: oklch(50.2% 0.156 24.8);
Tailwind
colors: {
  custom: {
    50: '#cc736b',
    500: '#ab3333',
    950: '#000000',
  },
}
SCSS
$custom: #ab3333;
$custom-light: #cc736b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3333",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 51
  },
  "hsl": {
    "h": 0,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.15641,
    "h": 24.8
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#AB3333
secondary
#78C2C2
accent
#DDDD4A
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB3333

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

Preview Lab → · Contrast checker → · Palette generator →

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