#AB303C#AB303C

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

Color values

HEX#AB303C
RGBrgb(171, 48, 60)
HSLhsl(354, 56%, 43%)
HSVhsv(354, 72%, 67%)
CMYKcmyk(0%, 71.9%, 64.9%, 32.9%)
CIE-LABlab(39.75, 50.35, 22.49)
CIE-LCHlch(39.75, 55.14, 24.07°)
OKLaboklab(50.02% 0.1492 0.0537)
OKLCHoklch(50.02% 0.159 19.8)
XYZxyz(18.6691, 11.1008, 5.4337)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB303C #30AB9F
analogous
#AB307A #AB303C #AB6130
triadic
#AB303C #3CAB30 #303CAB
tetradic
#AB303C #7AAB30 #30AB9F #6130AB
square
#AB303C #7AAB30 #30AB9F #6130AB
split-complementary
#AB303C #30AB61 #307AAB
monochromatic
#4B151A #7B232B #AB303C #CD4C58 #DA7B85

Accessibility & contrast

On white

6.52
#AB303C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB303C
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB303C#FFFFFF#000000##FFFFFF
##AB303C1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524D3C
Deuteranopia (green-blind)
#716739
Tritanopia (blue-blind)
#BC0735
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab303c;
/* rgb */ color: rgb(171, 48, 60);
/* oklch */ color: oklch(50.0% 0.159 19.8);
Tailwind
colors: {
  custom: {
    50: '#cb7171',
    500: '#ab303c',
    950: '#000000',
  },
}
SCSS
$custom: #ab303c;
$custom-light: #cb7171;
$custom-dark: #000000;
JSON
{
  "hex": "#ab303c",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 60
  },
  "hsl": {
    "h": 354.146,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.15858,
    "h": 19.8
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#AB303C
secondary
#74C3BB
accent
#DFD148
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB303C

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

Preview Lab → · Contrast checker → · Palette generator →

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