#AB303A#AB303A

#AB303A is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.159 H 20.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB303A
RGBrgb(171, 48, 58)
HSLhsl(355, 56%, 43%)
HSVhsv(355, 72%, 67%)
CMYKcmyk(0%, 71.9%, 66.1%, 32.9%)
CIE-LABlab(39.71, 50.23, 23.68)
CIE-LCHlch(39.71, 55.53, 25.24°)
OKLaboklab(49.98% 0.1484 0.0562)
OKLCHoklch(49.98% 0.159 20.7)
XYZxyz(18.6172, 11.0800, 5.1605)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB303A #30ABA1
analogous
#AB3077 #AB303A #AB6330
triadic
#AB303A #3AAB30 #303AAB
tetradic
#AB303A #77AB30 #30ABA1 #6330AB
square
#AB303A #77AB30 #30ABA1 #6330AB
split-complementary
#AB303A #30AB63 #3077AB
monochromatic
#4B151A #7B232A #AB303A #CD4C56 #DA7B83

Accessibility & contrast

On white

6.53
#AB303A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB303A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB303A
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB303A#FFFFFF#000000##FFFFFF
##AB303A1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524D39
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#BC0635
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab303a;
/* rgb */ color: rgb(171, 48, 58);
/* oklch */ color: oklch(50.0% 0.159 20.7);
Tailwind
colors: {
  custom: {
    50: '#cb7170',
    500: '#ab303a',
    950: '#000000',
  },
}
SCSS
$custom: #ab303a;
$custom-light: #cb7170;
$custom-dark: #000000;
JSON
{
  "hex": "#ab303a",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 58
  },
  "hsl": {
    "h": 355.122,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49978,
    "c": 0.15869,
    "h": 20.7
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#AB303A
secondary
#74C3BC
accent
#DFD348
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB303A

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

Preview Lab → · Contrast checker → · Palette generator →

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