#AB302F#AB302F

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

Color values

HEX#AB302F
RGBrgb(171, 48, 47)
HSLhsl(0, 57%, 43%)
HSVhsv(0, 73%, 67%)
CMYKcmyk(0%, 71.9%, 72.5%, 32.9%)
CIE-LABlab(39.55, 49.64, 30.18)
CIE-LCHlch(39.55, 58.10, 31.29°)
OKLaboklab(49.8% 0.1442 0.0688)
OKLCHoklch(49.8% 0.16 25.5)
XYZxyz(18.3667, 10.9798, 3.8410)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB302F #2FAAAB
analogous
#AB2F6C #AB302F #AB6E2F
triadic
#AB302F #2FAB30 #302FAB
tetradic
#AB302F #6CAB2F #2FAAAB #6E2FAB
square
#AB302F #6CAB2F #2FAAAB #6E2FAB
split-complementary
#AB302F #2FAB6E #2F6CAB
monochromatic
#4B1515 #7B2322 #AB302F #CD4B4A #DA7B7A

Accessibility & contrast

On white

6.57
#AB302F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB302F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB302F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB302F#FFFFFF#000000##FFFFFF
##AB302F1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2E
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab302f;
/* rgb */ color: rgb(171, 48, 47);
/* oklch */ color: oklch(49.8% 0.160 25.5);
Tailwind
colors: {
  custom: {
    50: '#cc7168',
    500: '#ab302f',
    950: '#000000',
  },
}
SCSS
$custom: #ab302f;
$custom-light: #cc7168;
$custom-dark: #000000;
JSON
{
  "hex": "#ab302f",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 0.484,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.15979,
    "h": 25.5
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#AB302F
secondary
#73C2C3
accent
#DFE048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB302F

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

Preview Lab → · Contrast checker → · Palette generator →

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