#AB302D#AB302D

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

Color values

HEX#AB302D
RGBrgb(171, 48, 45)
HSLhsl(1, 58%, 42%)
HSVhsv(1, 74%, 67%)
CMYKcmyk(0%, 71.9%, 73.7%, 32.9%)
CIE-LABlab(39.52, 49.55, 31.33)
CIE-LCHlch(39.52, 58.63, 32.31°)
OKLaboklab(49.77% 0.1435 0.0709)
OKLCHoklch(49.77% 0.16 26.3)
XYZxyz(18.3273, 10.9641, 3.6334)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB302D #2DA8AB
analogous
#AB2D69 #AB302D #AB6F2D
triadic
#AB302D #2DAB30 #302DAB
tetradic
#AB302D #69AB2D #2DA8AB #6F2DAB
square
#AB302D #69AB2D #2DA8AB #6F2DAB
split-complementary
#AB302D #2DAB6F #2D69AB
monochromatic
#4A1514 #7B2220 #AB302D #CE4A47 #DB7A77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB302D#FFFFFF#000000##FFFFFF
##AB302D1.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)
#544C2B
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab302d;
/* rgb */ color: rgb(171, 48, 45);
/* oklch */ color: oklch(49.8% 0.160 26.3);
Tailwind
colors: {
  custom: {
    50: '#cc7166',
    500: '#ab302d',
    950: '#000000',
  },
}
SCSS
$custom: #ab302d;
$custom-light: #cc7166;
$custom-dark: #000000;
JSON
{
  "hex": "#ab302d",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 45
  },
  "hsl": {
    "h": 1.429,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.16006,
    "h": 26.3
  },
  "luminance": 0.10961
}

Semantic roles & 50–950 ramp

primary
#AB302D
secondary
#71C1C3
accent
#DEE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB302D

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

Preview Lab → · Contrast checker → · Palette generator →

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