#A8287E#A8287E

#A8287E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.184 H 344.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A8287E
RGBrgb(168, 40, 126)
HSLhsl(320, 62%, 41%)
HSVhsv(320, 76%, 66%)
CMYKcmyk(0%, 76.2%, 25%, 34.1%)
CIE-LABlab(40.17, 58.61, -18.42)
CIE-LCHlch(40.17, 61.43, 342.56°)
OKLaboklab(50.86% 0.1774 -0.0491)
OKLCHoklch(50.86% 0.184 344.5)
XYZxyz(20.6740, 11.3510, 20.8368)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8287E #28A852
analogous
#9228A8 #A8287E #A8283E
triadic
#A8287E #7EA828 #287EA8
tetradic
#A8287E #A89228 #28A852 #283EA8
square
#A8287E #A89228 #28A852 #283EA8
split-complementary
#A8287E #3EA828 #28A892
monochromatic
#451034 #771C59 #A8287E #D13DA0 #DC6EB8

Accessibility & contrast

On white

6.42
#A8287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A8287E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8287E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8287E#FFFFFF#000000##FFFFFF
##A8287E1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8287e;
/* rgb */ color: rgb(168, 40, 126);
/* oklch */ color: oklch(50.9% 0.184 344.5);
Tailwind
colors: {
  custom: {
    50: '#c66fa3',
    500: '#a8287e',
    950: '#000000',
  },
}
SCSS
$custom: #a8287e;
$custom-light: #c66fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8287e",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 319.688,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.18402,
    "h": 344.5
  },
  "luminance": 0.11349
}

Semantic roles & 50–950 ramp

primary
#A8287E
secondary
#69C386
accent
#E57843
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8287E

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

Preview Lab → · Contrast checker → · Palette generator →

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