#A5287E#A5287E

#A5287E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.182 H 343.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A5287E
RGBrgb(165, 40, 126)
HSLhsl(319, 61%, 40%)
HSVhsv(319, 76%, 65%)
CMYKcmyk(0%, 75.8%, 23.6%, 35.3%)
CIE-LABlab(39.62, 57.85, -19.30)
CIE-LCHlch(39.62, 60.98, 341.55°)
OKLaboklab(50.37% 0.1746 -0.0516)
OKLCHoklch(50.37% 0.182 343.5)
XYZxyz(20.0425, 11.0254, 20.8072)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5287E #28A54F
analogous
#8D28A5 #A5287E #A5283F
triadic
#A5287E #7EA528 #287EA5
tetradic
#A5287E #A58D28 #28A54F #283FA5
square
#A5287E #A58D28 #28A54F #283FA5
split-complementary
#A5287E #3FA528 #28A58D
monochromatic
#421033 #741C58 #A5287E #CF3BA1 #DB6CB9

Accessibility & contrast

On white

6.55
#A5287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A5287E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5287E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5287E#FFFFFF#000000##FFFFFF
##A5287E1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#B02850
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5287e;
/* rgb */ color: rgb(165, 40, 126);
/* oklch */ color: oklch(50.4% 0.182 343.5);
Tailwind
colors: {
  custom: {
    50: '#c46fa3',
    500: '#a5287e',
    950: '#000000',
  },
}
SCSS
$custom: #a5287e;
$custom-light: #c46fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5287e",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 318.72,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50365,
    "c": 0.18202,
    "h": 343.5
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#A5287E
secondary
#67C283
accent
#E47644
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A5287E

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

Preview Lab → · Contrast checker → · Palette generator →

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