#A6288D#A6288D

#A6288D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.3% C 0.192 H 337.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A6288D
RGBrgb(166, 40, 141)
HSLhsl(312, 61%, 40%)
HSVhsv(312, 76%, 65%)
CMYKcmyk(0%, 75.9%, 15.1%, 34.9%)
CIE-LABlab(40.49, 60.17, -27.16)
CIE-LCHlch(40.49, 66.02, 335.71°)
OKLaboklab(51.25% 0.1777 -0.0738)
OKLCHoklch(51.25% 0.192 337.4)
XYZxyz(21.2928, 11.5497, 26.3020)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6288D #28A641
analogous
#8028A6 #A6288D #A6284E
triadic
#A6288D #8DA628 #288DA6
tetradic
#A6288D #A68028 #28A641 #284EA6
square
#A6288D #A68028 #28A641 #284EA6
split-complementary
#A6288D #4EA628 #28A680
monochromatic
#431039 #751C63 #A6288D #D03BB2 #DC6DC6

Accessibility & contrast

On white

6.35
#A6288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A6288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6288D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6288D#FFFFFF#000000##FFFFFF
##A6288D1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#AF3058
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6288d;
/* rgb */ color: rgb(166, 40, 141);
/* oklch */ color: oklch(51.3% 0.192 337.4);
Tailwind
colors: {
  custom: {
    50: '#c470ae',
    500: '#a6288d',
    950: '#000000',
  },
}
SCSS
$custom: #a6288d;
$custom-light: #c470ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6288d",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 311.905,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51251,
    "c": 0.1924,
    "h": 337.4
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#A6288D
secondary
#67C279
accent
#E46344
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6288D

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

Preview Lab → · Contrast checker → · Palette generator →

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