#A6288E#A6288E

#A6288E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.193 H 337.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A6288E
RGBrgb(166, 40, 142)
HSLhsl(311, 61%, 40%)
HSVhsv(311, 76%, 65%)
CMYKcmyk(0%, 75.9%, 14.5%, 34.9%)
CIE-LABlab(40.54, 60.32, -27.69)
CIE-LCHlch(40.54, 66.37, 335.34°)
OKLaboklab(51.3% 0.1778 -0.0754)
OKLCHoklch(51.3% 0.193 337)
XYZxyz(21.3676, 11.5796, 26.6957)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6288E #28A640
analogous
#7F28A6 #A6288E #A6284F
triadic
#A6288E #8EA628 #288EA6
tetradic
#A6288E #A67F28 #28A640 #284FA6
square
#A6288E #A67F28 #28A640 #284FA6
split-complementary
#A6288E #4FA628 #28A67F
monochromatic
#43103A #751C64 #A6288E #D03BB4 #DC6DC7

Accessibility & contrast

On white

6.33
#A6288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A6288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6288E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6288E#FFFFFF#000000##FFFFFF
##A6288E1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5391
Deuteranopia (green-blind)
#58668B
Tritanopia (blue-blind)
#AF3058
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6288e;
/* rgb */ color: rgb(166, 40, 142);
/* oklch */ color: oklch(51.3% 0.193 337.0);
Tailwind
colors: {
  custom: {
    50: '#c470af',
    500: '#a6288e',
    950: '#000000',
  },
}
SCSS
$custom: #a6288e;
$custom-light: #c470af;
$custom-dark: #000000;
JSON
{
  "hex": "#a6288e",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 311.429,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.19309,
    "h": 337
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6288E

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

Preview Lab → · Contrast checker → · Palette generator →

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