#AB304E#AB304E

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

Color values

HEX#AB304E
RGBrgb(171, 48, 78)
HSLhsl(345, 56%, 43%)
HSVhsv(345, 72%, 67%)
CMYKcmyk(0%, 71.9%, 54.4%, 32.9%)
CIE-LABlab(40.12, 51.62, 11.69)
CIE-LCHlch(40.12, 52.92, 12.76°)
OKLaboklab(50.41% 0.1564 0.0296)
OKLCHoklch(50.41% 0.159 10.7)
XYZxyz(19.2284, 11.3245, 8.3796)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB304E #30AB8D
analogous
#AB308B #AB304E #AB5030
triadic
#AB304E #4EAB30 #304EAB
tetradic
#AB304E #8BAB30 #30AB8D #5030AB
square
#AB304E #8BAB30 #30AB8D #5030AB
split-complementary
#AB304E #30AB50 #308BAB
monochromatic
#4B1522 #7B2338 #AB304E #CD4C6B #DA7B92

Accessibility & contrast

On white

6.43
#AB304E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB304E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB304E#FFFFFF#000000##FFFFFF
##AB304E1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4E
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#BB143C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab304e;
/* rgb */ color: rgb(171, 48, 78);
/* oklch */ color: oklch(50.4% 0.159 10.7);
Tailwind
colors: {
  custom: {
    50: '#ca727f',
    500: '#ab304e',
    950: '#000000',
  },
}
SCSS
$custom: #ab304e;
$custom-light: #ca727f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab304e",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 345.366,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.15919,
    "h": 10.7
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#AB304E
secondary
#74C3AF
accent
#DFBB48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB304E

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

Preview Lab → · Contrast checker → · Palette generator →

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