#A6287E#A6287E

#A6287E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.183 H 343.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A6287E
RGBrgb(166, 40, 126)
HSLhsl(319, 61%, 40%)
HSVhsv(319, 76%, 65%)
CMYKcmyk(0%, 75.9%, 24.1%, 34.9%)
CIE-LABlab(39.80, 58.10, -19.00)
CIE-LCHlch(39.80, 61.13, 341.89°)
OKLaboklab(50.53% 0.1755 -0.0508)
OKLCHoklch(50.53% 0.183 343.9)
XYZxyz(20.2514, 11.1331, 20.8170)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6287E #28A650
analogous
#8F28A6 #A6287E #A6283F
triadic
#A6287E #7EA628 #287EA6
tetradic
#A6287E #A68F28 #28A650 #283FA6
square
#A6287E #A68F28 #28A650 #283FA6
split-complementary
#A6287E #3FA628 #28A68F
monochromatic
#431033 #751C59 #A6287E #D03BA1 #DC6DB8

Accessibility & contrast

On white

6.51
#A6287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A6287E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6287E
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6287E#FFFFFF#000000##FFFFFF
##A6287E1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375080
Deuteranopia (green-blind)
#5E657B
Tritanopia (blue-blind)
#B12750
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6287e;
/* rgb */ color: rgb(166, 40, 126);
/* oklch */ color: oklch(50.5% 0.183 343.9);
Tailwind
colors: {
  custom: {
    50: '#c46fa3',
    500: '#a6287e',
    950: '#000000',
  },
}
SCSS
$custom: #a6287e;
$custom-light: #c46fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6287e",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 319.048,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50529,
    "c": 0.18268,
    "h": 343.9
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#A6287E
secondary
#67C284
accent
#E47744
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A6287E

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

Preview Lab → · Contrast checker → · Palette generator →

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