#AB303B#AB303B

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

Color values

HEX#AB303B
RGBrgb(171, 48, 59)
HSLhsl(355, 56%, 43%)
HSVhsv(355, 72%, 67%)
CMYKcmyk(0%, 71.9%, 65.5%, 32.9%)
CIE-LABlab(39.73, 50.29, 23.08)
CIE-LCHlch(39.73, 55.33, 24.66°)
OKLaboklab(50% 0.1488 0.0549)
OKLCHoklch(50% 0.159 20.3)
XYZxyz(18.6429, 11.0903, 5.2958)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB303B #30ABA0
analogous
#AB3078 #AB303B #AB6230
triadic
#AB303B #3BAB30 #303BAB
tetradic
#AB303B #78AB30 #30ABA0 #6230AB
square
#AB303B #78AB30 #30ABA0 #6230AB
split-complementary
#AB303B #30AB62 #3078AB
monochromatic
#4B151A #7B232B #AB303B #CD4C57 #DA7B84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB303B#FFFFFF#000000##FFFFFF
##AB303B1.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)
#524D3A
Deuteranopia (green-blind)
#716737
Tritanopia (blue-blind)
#BC0735
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab303b;
/* rgb */ color: rgb(171, 48, 59);
/* oklch */ color: oklch(50.0% 0.159 20.3);
Tailwind
colors: {
  custom: {
    50: '#cb7170',
    500: '#ab303b',
    950: '#000000',
  },
}
SCSS
$custom: #ab303b;
$custom-light: #cb7170;
$custom-dark: #000000;
JSON
{
  "hex": "#ab303b",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 59
  },
  "hsl": {
    "h": 354.634,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.15862,
    "h": 20.3
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB303B

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

Preview Lab → · Contrast checker → · Palette generator →

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