#AB302B#AB302B

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

Color values

HEX#AB302B
RGBrgb(171, 48, 43)
HSLhsl(2, 60%, 42%)
HSVhsv(2, 75%, 67%)
CMYKcmyk(0%, 71.9%, 74.9%, 32.9%)
CIE-LABlab(39.49, 49.46, 32.48)
CIE-LCHlch(39.49, 59.18, 33.29°)
OKLaboklab(49.74% 0.1428 0.073)
OKLCHoklch(49.74% 0.16 27.1)
XYZxyz(18.2897, 10.9490, 3.4354)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB302B #2BA6AB
analogous
#AB2B66 #AB302B #AB702B
triadic
#AB302B #2BAB30 #302BAB
tetradic
#AB302B #66AB2B #2BA6AB #702BAB
square
#AB302B #66AB2B #2BA6AB #702BAB
split-complementary
#AB302B #2BAB70 #2B66AB
monochromatic
#491512 #7A221F #AB302B #D04943 #DC7874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB302B#FFFFFF#000000##FFFFFF
##AB302B1.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)
#544C29
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab302b;
/* rgb */ color: rgb(171, 48, 43);
/* oklch */ color: oklch(49.7% 0.160 27.1);
Tailwind
colors: {
  custom: {
    50: '#cc7165',
    500: '#ab302b',
    950: '#000000',
  },
}
SCSS
$custom: #ab302b;
$custom-light: #cc7165;
$custom-dark: #000000;
JSON
{
  "hex": "#ab302b",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 43
  },
  "hsl": {
    "h": 2.344,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49743,
    "c": 0.16035,
    "h": 27.1
  },
  "luminance": 0.10946
}

Semantic roles & 50–950 ramp

primary
#AB302B
secondary
#6EC0C4
accent
#DDE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB302B

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

Preview Lab → · Contrast checker → · Palette generator →

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