#A8287F#A8287F

#A8287F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.185 H 344.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A8287F
RGBrgb(168, 40, 127)
HSLhsl(319, 62%, 41%)
HSVhsv(319, 76%, 66%)
CMYKcmyk(0%, 76.2%, 24.4%, 34.1%)
CIE-LABlab(40.21, 58.74, -18.97)
CIE-LCHlch(40.21, 61.72, 342.10°)
OKLaboklab(50.9% 0.1775 -0.0506)
OKLCHoklch(50.9% 0.185 344.1)
XYZxyz(20.7388, 11.3769, 21.1784)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8287F #28A851
analogous
#9128A8 #A8287F #A8283F
triadic
#A8287F #7FA828 #287FA8
tetradic
#A8287F #A89128 #28A851 #283FA8
square
#A8287F #A89128 #28A851 #283FA8
split-complementary
#A8287F #3FA828 #28A891
monochromatic
#451034 #771C5A #A8287F #D13DA1 #DC6EB9

Accessibility & contrast

On white

6.41
#A8287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A8287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8287F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8287F#FFFFFF#000000##FFFFFF
##A8287F1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#5F667C
Tritanopia (blue-blind)
#B32750
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8287f;
/* rgb */ color: rgb(168, 40, 127);
/* oklch */ color: oklch(50.9% 0.185 344.1);
Tailwind
colors: {
  custom: {
    50: '#c66fa4',
    500: '#a8287f',
    950: '#000000',
  },
}
SCSS
$custom: #a8287f;
$custom-light: #c66fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8287f",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 319.219,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50904,
    "c": 0.18462,
    "h": 344.1
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#A8287F
secondary
#69C386
accent
#E57743
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A8287F

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

Preview Lab → · Contrast checker → · Palette generator →

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