#A6288A#A6288A

#A6288A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.190 H 338.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A6288A
RGBrgb(166, 40, 138)
HSLhsl(313, 61%, 40%)
HSVhsv(313, 76%, 65%)
CMYKcmyk(0%, 75.9%, 16.9%, 34.9%)
CIE-LABlab(40.35, 59.74, -25.55)
CIE-LCHlch(40.35, 64.98, 336.85°)
OKLaboklab(51.1% 0.1773 -0.0693)
OKLCHoklch(51.1% 0.19 338.7)
XYZxyz(21.0726, 11.4616, 25.1423)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6288A #28A644
analogous
#8328A6 #A6288A #A6284B
triadic
#A6288A #8AA628 #288AA6
tetradic
#A6288A #A68328 #28A644 #284BA6
square
#A6288A #A68328 #28A644 #284BA6
split-complementary
#A6288A #4BA628 #28A683
monochromatic
#431038 #751C61 #A6288A #D03BAF #DC6DC3

Accessibility & contrast

On white

6.38
#A6288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A6288A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6288A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6288A#FFFFFF#000000##FFFFFF
##A6288A1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#B02E56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6288a;
/* rgb */ color: rgb(166, 40, 138);
/* oklch */ color: oklch(51.1% 0.190 338.7);
Tailwind
colors: {
  custom: {
    50: '#c46fac',
    500: '#a6288a',
    950: '#000000',
  },
}
SCSS
$custom: #a6288a;
$custom-light: #c46fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a6288a",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 313.333,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.511,
    "c": 0.19037,
    "h": 338.7
  },
  "luminance": 0.1146
}

Semantic roles & 50–950 ramp

primary
#A6288A
secondary
#67C27C
accent
#E46744
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6288A

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

Preview Lab → · Contrast checker → · Palette generator →

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