#AB304A#AB304A

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

Color values

HEX#AB304A
RGBrgb(171, 48, 74)
HSLhsl(347, 56%, 43%)
HSVhsv(347, 72%, 67%)
CMYKcmyk(0%, 71.9%, 56.7%, 32.9%)
CIE-LABlab(40.03, 51.30, 14.09)
CIE-LCHlch(40.03, 53.20, 15.35°)
OKLaboklab(50.31% 0.1548 0.0352)
OKLCHoklch(50.31% 0.159 12.8)
XYZxyz(19.0894, 11.2689, 7.6472)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB304A #30AB91
analogous
#AB3087 #AB304A #AB5330
triadic
#AB304A #4AAB30 #304AAB
tetradic
#AB304A #87AB30 #30AB91 #5330AB
square
#AB304A #87AB30 #30AB91 #5330AB
split-complementary
#AB304A #30AB53 #3087AB
monochromatic
#4B1521 #7B2335 #AB304A #CD4C67 #DA7B8F

Accessibility & contrast

On white

6.46
#AB304A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AB304A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB304A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB304A#FFFFFF#000000##FFFFFF
##AB304A1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4A
Deuteranopia (green-blind)
#6F6847
Tritanopia (blue-blind)
#BB113B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab304a;
/* rgb */ color: rgb(171, 48, 74);
/* oklch */ color: oklch(50.3% 0.159 12.8);
Tailwind
colors: {
  custom: {
    50: '#ca727c',
    500: '#ab304a',
    950: '#000000',
  },
}
SCSS
$custom: #ab304a;
$custom-light: #ca727c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab304a",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 74
  },
  "hsl": {
    "h": 347.317,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50314,
    "c": 0.15877,
    "h": 12.8
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#AB304A
secondary
#74C3B2
accent
#DFC048
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB304A

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

Preview Lab → · Contrast checker → · Palette generator →

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