#AB6778#AB6778

#AB6778 is a mid, moderate red. Relative luminance 0.197; OKLCH L 59.3% C 0.090 H 4.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AB6778
RGBrgb(171, 103, 120)
HSLhsl(345, 29%, 54%)
HSVhsv(345, 40%, 67%)
CMYKcmyk(0%, 39.8%, 29.8%, 32.9%)
CIE-LABlab(51.51, 29.50, 2.24)
CIE-LCHlch(51.51, 29.58, 4.34°)
OKLaboklab(59.35% 0.0893 0.0062)
OKLCHoklch(59.35% 0.09 4)
XYZxyz(25.0358, 19.7163, 20.2527)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6778 #67AB9A
analogous
#AB679A #AB6778 #AB7867
triadic
#AB6778 #78AB67 #6778AB
tetradic
#AB6778 #9AAB67 #67AB9A #7867AB
square
#AB6778 #9AAB67 #67AB9A #7867AB
split-complementary
#AB6778 #67AB78 #679AAB
monochromatic
#623641 #894C5B #AB6778 #C18E9B #D7B6BE

Accessibility & contrast

On white

4.25
#AB6778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AB6778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6778
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6778#FFFFFF#000000##000000
##AB67781.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#717378
Deuteranopia (green-blind)
#828077
Tritanopia (blue-blind)
#B6626D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab6778;
/* rgb */ color: rgb(171, 103, 120);
/* oklch */ color: oklch(59.3% 0.090 4.0);
Tailwind
colors: {
  custom: {
    50: '#c6939e',
    500: '#ab6778',
    950: '#000000',
  },
}
SCSS
$custom: #ab6778;
$custom-light: #c6939e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6778",
  "rgb": {
    "r": 171,
    "g": 103,
    "b": 120
  },
  "hsl": {
    "h": 345,
    "s": 28.814,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.08953,
    "h": 4
  },
  "luminance": 0.19714
}

Semantic roles & 50–950 ramp

primary
#AB6778
secondary
#A8C5BE
accent
#C5AC63
background
#FCF9F9
surface
#F8F1F2
border
#D1CBCC
text
#130D0E
muted
#827E7E

Preview Lab

Preview with #AB6778

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

Preview Lab → · Contrast checker → · Palette generator →

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