#AB304C#AB304C

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

Color values

HEX#AB304C
RGBrgb(171, 48, 76)
HSLhsl(346, 56%, 43%)
HSVhsv(346, 72%, 67%)
CMYKcmyk(0%, 71.9%, 55.6%, 32.9%)
CIE-LABlab(40.08, 51.46, 12.89)
CIE-LCHlch(40.08, 53.05, 14.06°)
OKLaboklab(50.36% 0.1556 0.0324)
OKLCHoklch(50.36% 0.159 11.8)
XYZxyz(19.1578, 11.2963, 8.0077)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB304C #30AB8F
analogous
#AB308A #AB304C #AB5130
triadic
#AB304C #4CAB30 #304CAB
tetradic
#AB304C #8AAB30 #30AB8F #5130AB
square
#AB304C #8AAB30 #30AB8F #5130AB
split-complementary
#AB304C #30AB51 #308AAB
monochromatic
#4B1522 #7B2337 #AB304C #CD4C69 #DA7B91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB304C#FFFFFF#000000##FFFFFF
##AB304C1.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)
#4F4E4C
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#BB123B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab304c;
/* rgb */ color: rgb(171, 48, 76);
/* oklch */ color: oklch(50.4% 0.159 11.8);
Tailwind
colors: {
  custom: {
    50: '#ca727d',
    500: '#ab304c',
    950: '#000000',
  },
}
SCSS
$custom: #ab304c;
$custom-light: #ca727d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab304c",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 346.341,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50363,
    "c": 0.15895,
    "h": 11.8
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#AB304C
secondary
#74C3B1
accent
#DFBD48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB304C

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

Preview Lab → · Contrast checker → · Palette generator →

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