#A6287F#A6287F

#A6287F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.183 H 343.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A6287F
RGBrgb(166, 40, 127)
HSLhsl(319, 61%, 40%)
HSVhsv(319, 76%, 65%)
CMYKcmyk(0%, 75.9%, 23.5%, 34.9%)
CIE-LABlab(39.85, 58.23, -19.56)
CIE-LCHlch(39.85, 61.43, 341.44°)
OKLaboklab(50.58% 0.1757 -0.0523)
OKLCHoklch(50.58% 0.183 343.4)
XYZxyz(20.3162, 11.1590, 21.1585)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6287F #28A64F
analogous
#8E28A6 #A6287F #A62840
triadic
#A6287F #7FA628 #287FA6
tetradic
#A6287F #A68E28 #28A64F #2840A6
square
#A6287F #A68E28 #28A64F #2840A6
split-complementary
#A6287F #40A628 #28A68E
monochromatic
#431034 #751C59 #A6287F #D03BA2 #DC6DB9

Accessibility & contrast

On white

6.50
#A6287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6287F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6287F#FFFFFF#000000##FFFFFF
##A6287F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365181
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#B12850
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6287f;
/* rgb */ color: rgb(166, 40, 127);
/* oklch */ color: oklch(50.6% 0.183 343.4);
Tailwind
colors: {
  custom: {
    50: '#c46fa4',
    500: '#a6287f',
    950: '#000000',
  },
}
SCSS
$custom: #a6287f;
$custom-light: #c46fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6287f",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 318.571,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50575,
    "c": 0.1833,
    "h": 343.4
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6287F

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

Preview Lab → · Contrast checker → · Palette generator →

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