#AB302C#AB302C

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

Color values

HEX#AB302C
RGBrgb(171, 48, 44)
HSLhsl(2, 59%, 42%)
HSVhsv(2, 74%, 67%)
CMYKcmyk(0%, 71.9%, 74.3%, 32.9%)
CIE-LABlab(39.51, 49.51, 31.91)
CIE-LCHlch(39.51, 58.90, 32.80°)
OKLaboklab(49.76% 0.1431 0.072)
OKLCHoklch(49.76% 0.16 26.7)
XYZxyz(18.3082, 10.9564, 3.5332)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB302C #2CA7AB
analogous
#AB2C67 #AB302C #AB702C
triadic
#AB302C #2CAB30 #302CAB
tetradic
#AB302C #67AB2C #2CA7AB #702CAB
square
#AB302C #67AB2C #2CA7AB #702CAB
split-complementary
#AB302C #2CAB70 #2C67AB
monochromatic
#4A1513 #7A221F #AB302C #CF4945 #DC7976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB302C#FFFFFF#000000##FFFFFF
##AB302C1.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)
#544C2A
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab302c;
/* rgb */ color: rgb(171, 48, 44);
/* oklch */ color: oklch(49.8% 0.160 26.7);
Tailwind
colors: {
  custom: {
    50: '#cc7165',
    500: '#ab302c',
    950: '#000000',
  },
}
SCSS
$custom: #ab302c;
$custom-light: #cc7165;
$custom-dark: #000000;
JSON
{
  "hex": "#ab302c",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 44
  },
  "hsl": {
    "h": 1.89,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.1602,
    "h": 26.7
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#AB302C
secondary
#6FC1C3
accent
#DDE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB302C

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

Preview Lab → · Contrast checker → · Palette generator →

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