#AB303D#AB303D

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

Color values

HEX#AB303D
RGBrgb(171, 48, 61)
HSLhsl(354, 56%, 43%)
HSVhsv(354, 72%, 67%)
CMYKcmyk(0%, 71.9%, 64.3%, 32.9%)
CIE-LABlab(39.77, 50.41, 21.89)
CIE-LCHlch(39.77, 54.95, 23.47°)
OKLaboklab(50.04% 0.1496 0.0524)
OKLCHoklch(50.04% 0.159 19.3)
XYZxyz(18.6958, 11.1115, 5.5743)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB303D #30AB9E
analogous
#AB307A #AB303D #AB6130
triadic
#AB303D #3DAB30 #303DAB
tetradic
#AB303D #7AAB30 #30AB9E #6130AB
square
#AB303D #7AAB30 #30AB9E #6130AB
split-complementary
#AB303D #30AB61 #307AAB
monochromatic
#4B151B #7B232C #AB303D #CD4C59 #DA7B85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB303D#FFFFFF#000000##FFFFFF
##AB303D1.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)
#524D3D
Deuteranopia (green-blind)
#71673A
Tritanopia (blue-blind)
#BC0836
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab303d;
/* rgb */ color: rgb(171, 48, 61);
/* oklch */ color: oklch(50.0% 0.159 19.3);
Tailwind
colors: {
  custom: {
    50: '#cb7172',
    500: '#ab303d',
    950: '#000000',
  },
}
SCSS
$custom: #ab303d;
$custom-light: #cb7172;
$custom-dark: #000000;
JSON
{
  "hex": "#ab303d",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 61
  },
  "hsl": {
    "h": 353.659,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50035,
    "c": 0.15853,
    "h": 19.3
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#AB303D
secondary
#74C3BA
accent
#DFCF48
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB303D

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

Preview Lab → · Contrast checker → · Palette generator →

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