#A6286C#A6286C

#A6286C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.173 H 352.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A6286C
RGBrgb(166, 40, 108)
HSLhsl(328, 61%, 40%)
HSVhsv(328, 76%, 65%)
CMYKcmyk(0%, 75.9%, 34.9%, 34.9%)
CIE-LABlab(39.09, 55.89, -8.87)
CIE-LCHlch(39.09, 56.59, 350.99°)
OKLaboklab(49.77% 0.1713 -0.0228)
OKLCHoklch(49.77% 0.173 352.4)
XYZxyz(19.1926, 10.7096, 15.2409)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6286C #28A662
analogous
#A128A6 #A6286C #A6282D
triadic
#A6286C #6CA628 #286CA6
tetradic
#A6286C #A6A128 #28A662 #282DA6
square
#A6286C #A6A128 #28A662 #282DA6
split-complementary
#A6286C #2DA628 #28A6A1
monochromatic
#43102C #751C4C #A6286C #D03B8B #DC6DA9

Accessibility & contrast

On white

6.68
#A6286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A6286C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6286C
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6286C#FFFFFF#000000##FFFFFF
##A6286C1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6E
Deuteranopia (green-blind)
#636469
Tritanopia (blue-blind)
#B31D46
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a6286c;
/* rgb */ color: rgb(166, 40, 108);
/* oklch */ color: oklch(49.8% 0.173 352.4);
Tailwind
colors: {
  custom: {
    50: '#c56e96',
    500: '#a6286c',
    950: '#000000',
  },
}
SCSS
$custom: #a6286c;
$custom-light: #c56e96;
$custom-dark: #000000;
JSON
{
  "hex": "#a6286c",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 327.619,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49773,
    "c": 0.17285,
    "h": 352.4
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#A6286C
secondary
#67C291
accent
#E48E44
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A6286C

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

Preview Lab → · Contrast checker → · Palette generator →

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