#A6287C#A6287C

#A6287C is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.181 H 344.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A6287C
RGBrgb(166, 40, 124)
HSLhsl(320, 61%, 40%)
HSVhsv(320, 76%, 65%)
CMYKcmyk(0%, 75.9%, 25.3%, 34.9%)
CIE-LABlab(39.72, 57.84, -17.90)
CIE-LCHlch(39.72, 60.55, 342.81°)
OKLaboklab(50.44% 0.1751 -0.0477)
OKLCHoklch(50.44% 0.181 344.8)
XYZxyz(20.1236, 11.0820, 20.1441)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6287C #28A652
analogous
#9128A6 #A6287C #A6283D
triadic
#A6287C #7CA628 #287CA6
tetradic
#A6287C #A69128 #28A652 #283DA6
square
#A6287C #A69128 #28A652 #283DA6
split-complementary
#A6287C #3DA628 #28A691
monochromatic
#431032 #751C57 #A6287C #D03B9E #DC6DB7

Accessibility & contrast

On white

6.53
#A6287C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A6287C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6287C
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6287C#FFFFFF#000000##FFFFFF
##A6287C1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507E
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#B1264F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6287c;
/* rgb */ color: rgb(166, 40, 124);
/* oklch */ color: oklch(50.4% 0.181 344.8);
Tailwind
colors: {
  custom: {
    50: '#c46fa2',
    500: '#a6287c',
    950: '#000000',
  },
}
SCSS
$custom: #a6287c;
$custom-light: #c46fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6287c",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 320,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.18148,
    "h": 344.8
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#A6287C
secondary
#67C286
accent
#E47944
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A6287C

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

Preview Lab → · Contrast checker → · Palette generator →

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