#A6288B#A6288B

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

Color values

HEX#A6288B
RGBrgb(166, 40, 139)
HSLhsl(313, 61%, 40%)
HSVhsv(313, 76%, 65%)
CMYKcmyk(0%, 75.9%, 16.3%, 34.9%)
CIE-LABlab(40.39, 59.89, -26.09)
CIE-LCHlch(40.39, 65.32, 336.46°)
OKLaboklab(51.15% 0.1775 -0.0708)
OKLCHoklch(51.15% 0.191 338.3)
XYZxyz(21.1454, 11.4907, 25.5254)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6288B #28A643
analogous
#8228A6 #A6288B #A6284C
triadic
#A6288B #8BA628 #288BA6
tetradic
#A6288B #A68228 #28A643 #284CA6
square
#A6288B #A68228 #28A643 #284CA6
split-complementary
#A6288B #4CA628 #28A682
monochromatic
#431038 #751C62 #A6288B #D03BB0 #DC6DC4

Accessibility & contrast

On white

6.37
#A6288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A6288B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6288B
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6288B#FFFFFF#000000##FFFFFF
##A6288B1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538E
Deuteranopia (green-blind)
#596688
Tritanopia (blue-blind)
#AF2F57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6288b;
/* rgb */ color: rgb(166, 40, 139);
/* oklch */ color: oklch(51.1% 0.191 338.3);
Tailwind
colors: {
  custom: {
    50: '#c46fad',
    500: '#a6288b',
    950: '#000000',
  },
}
SCSS
$custom: #a6288b;
$custom-light: #c46fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a6288b",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 312.857,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.19105,
    "h": 338.3
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

primary
#A6288B
secondary
#67C27B
accent
#E46644
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6288B

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

Preview Lab → · Contrast checker → · Palette generator →

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