#AB6278#AB6278

#AB6278 is a mid, moderate pink. Relative luminance 0.187; OKLCH L 58.5% C 0.098 H 1.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AB6278
RGBrgb(171, 98, 120)
HSLhsl(342, 30%, 53%)
HSVhsv(342, 43%, 67%)
CMYKcmyk(0%, 42.7%, 29.8%, 32.9%)
CIE-LABlab(50.40, 32.25, 0.61)
CIE-LCHlch(50.40, 32.26, 1.09°)
OKLaboklab(58.49% 0.0976 0.002)
OKLCHoklch(58.49% 0.098 1.2)
XYZxyz(24.5533, 18.7513, 20.0918)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6278 #62AB95
analogous
#AB629C #AB6278 #AB7162
triadic
#AB6278 #78AB62 #6278AB
tetradic
#AB6278 #9CAB62 #62AB95 #7162AB
square
#AB6278 #9CAB62 #62AB95 #7162AB
split-complementary
#AB6278 #62AB71 #629CAB
monochromatic
#603340 #87485B #AB6278 #C08A9A #D6B2BD

Accessibility & contrast

On white

4.42
#AB6278 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AB6278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6278
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6278#FFFFFF#000000##000000
##AB62781.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7079
Deuteranopia (green-blind)
#7F7D76
Tritanopia (blue-blind)
#B65D6A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab6278;
/* rgb */ color: rgb(171, 98, 120);
/* oklch */ color: oklch(58.5% 0.098 1.2);
Tailwind
colors: {
  custom: {
    50: '#c6909e',
    500: '#ab6278',
    950: '#000000',
  },
}
SCSS
$custom: #ab6278;
$custom-light: #c6909e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6278",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 120
  },
  "hsl": {
    "h": 341.918,
    "s": 30.29,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.09765,
    "h": 1.2
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#AB6278
secondary
#A5C4BB
accent
#C7A861
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130D0E
muted
#827D7E

Preview Lab

Preview with #AB6278

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

Preview Lab → · Contrast checker → · Palette generator →

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