#AB304D#AB304D

#AB304D is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.159 H 11.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AB304D
RGBrgb(171, 48, 77)
HSLhsl(346, 56%, 43%)
HSVhsv(346, 72%, 67%)
CMYKcmyk(0%, 71.9%, 55%, 32.9%)
CIE-LABlab(40.10, 51.54, 12.29)
CIE-LCHlch(40.10, 52.98, 13.41°)
OKLaboklab(50.39% 0.156 0.031)
OKLCHoklch(50.39% 0.159 11.2)
XYZxyz(19.1929, 11.3103, 8.1922)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB304D #30AB8E
analogous
#AB308A #AB304D #AB5130
triadic
#AB304D #4DAB30 #304DAB
tetradic
#AB304D #8AAB30 #30AB8E #5130AB
square
#AB304D #8AAB30 #30AB8E #5130AB
split-complementary
#AB304D #30AB51 #308AAB
monochromatic
#4B1522 #7B2337 #AB304D #CD4C6A #DA7B92

Accessibility & contrast

On white

6.44
#AB304D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AB304D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB304D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB304D#FFFFFF#000000##FFFFFF
##AB304D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4D
Deuteranopia (green-blind)
#6F684A
Tritanopia (blue-blind)
#BB133C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab304d;
/* rgb */ color: rgb(171, 48, 77);
/* oklch */ color: oklch(50.4% 0.159 11.2);
Tailwind
colors: {
  custom: {
    50: '#ca727e',
    500: '#ab304d',
    950: '#000000',
  },
}
SCSS
$custom: #ab304d;
$custom-light: #ca727e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab304d",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 77
  },
  "hsl": {
    "h": 345.854,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.15906,
    "h": 11.2
  },
  "luminance": 0.11308
}

Semantic roles & 50–950 ramp

primary
#AB304D
secondary
#74C3B0
accent
#DFBC48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB304D

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

Preview Lab → · Contrast checker → · Palette generator →

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