#AB302E#AB302E

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

Color values

HEX#AB302E
RGBrgb(171, 48, 46)
HSLhsl(1, 58%, 43%)
HSVhsv(1, 73%, 67%)
CMYKcmyk(0%, 71.9%, 73.1%, 32.9%)
CIE-LABlab(39.53, 49.60, 30.76)
CIE-LCHlch(39.53, 58.36, 31.80°)
OKLaboklab(49.78% 0.1439 0.0699)
OKLCHoklch(49.78% 0.16 25.9)
XYZxyz(18.3467, 10.9718, 3.7360)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB302E #2EA9AB
analogous
#AB2E6A #AB302E #AB6E2E
triadic
#AB302E #2EAB30 #302EAB
tetradic
#AB302E #6AAB2E #2EA9AB #6E2EAB
square
#AB302E #6AAB2E #2EA9AB #6E2EAB
split-complementary
#AB302E #2EAB6E #2E6AAB
monochromatic
#4B1514 #7B2221 #AB302E #CE4A48 #DB7A79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB302E#FFFFFF#000000##FFFFFF
##AB302E1.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)
#534C2D
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab302e;
/* rgb */ color: rgb(171, 48, 46);
/* oklch */ color: oklch(49.8% 0.160 25.9);
Tailwind
colors: {
  custom: {
    50: '#cc7167',
    500: '#ab302e',
    950: '#000000',
  },
}
SCSS
$custom: #ab302e;
$custom-light: #cc7167;
$custom-dark: #000000;
JSON
{
  "hex": "#ab302e",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 46
  },
  "hsl": {
    "h": 0.96,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49784,
    "c": 0.15993,
    "h": 25.9
  },
  "luminance": 0.10969
}

Semantic roles & 50–950 ramp

primary
#AB302E
secondary
#72C2C3
accent
#DEE147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB302E

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

Preview Lab → · Contrast checker → · Palette generator →

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