#A6288F#A6288F

#A6288F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.4% C 0.194 H 336.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A6288F
RGBrgb(166, 40, 143)
HSLhsl(311, 61%, 40%)
HSVhsv(311, 76%, 65%)
CMYKcmyk(0%, 75.9%, 13.9%, 34.9%)
CIE-LABlab(40.59, 60.46, -28.23)
CIE-LCHlch(40.59, 66.73, 334.97°)
OKLaboklab(51.35% 0.1779 -0.0769)
OKLCHoklch(51.35% 0.194 336.6)
XYZxyz(21.4430, 11.6097, 27.0929)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6288F #28A63F
analogous
#7E28A6 #A6288F #A62850
triadic
#A6288F #8FA628 #288FA6
tetradic
#A6288F #A67E28 #28A63F #2850A6
square
#A6288F #A67E28 #28A63F #2850A6
split-complementary
#A6288F #50A628 #28A67E
monochromatic
#43103A #751C65 #A6288F #D03BB5 #DC6DC7

Accessibility & contrast

On white

6.32
#A6288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6288F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6288F#FFFFFF#000000##FFFFFF
##A6288F1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5492
Deuteranopia (green-blind)
#57668C
Tritanopia (blue-blind)
#AF3159
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6288f;
/* rgb */ color: rgb(166, 40, 143);
/* oklch */ color: oklch(51.4% 0.194 336.6);
Tailwind
colors: {
  custom: {
    50: '#c470b0',
    500: '#a6288f',
    950: '#000000',
  },
}
SCSS
$custom: #a6288f;
$custom-light: #c470b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6288f",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 310.952,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.19378,
    "h": 336.6
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#A6288F
secondary
#67C278
accent
#E46144
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6288F

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

Preview Lab → · Contrast checker → · Palette generator →

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