#A5285A#A5285A

#A5285A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.165 H 1.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A5285A
RGBrgb(165, 40, 90)
HSLhsl(336, 61%, 40%)
HSVhsv(336, 76%, 65%)
CMYKcmyk(0%, 75.8%, 45.5%, 35.3%)
CIE-LABlab(38.30, 53.73, 1.34)
CIE-LCHlch(38.30, 53.74, 1.43°)
OKLaboklab(48.97% 0.1648 0.0041)
OKLCHoklch(48.97% 0.165 1.4)
XYZxyz(18.1227, 10.2575, 10.6964)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5285A #28A573
analogous
#A52899 #A5285A #A53428
triadic
#A5285A #5AA528 #285AA5
tetradic
#A5285A #99A528 #28A573 #3428A5
square
#A5285A #99A528 #28A573 #3428A5
split-complementary
#A5285A #28A534 #2899A5
monochromatic
#421024 #741C3F #A5285A #CF3B76 #DB6C99

Accessibility & contrast

On white

6.88
#A5285A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A5285A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5285A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5285A#FFFFFF#000000##FFFFFF
##A5285A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B3103E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5285a;
/* rgb */ color: rgb(165, 40, 90);
/* oklch */ color: oklch(49.0% 0.165 1.4);
Tailwind
colors: {
  custom: {
    50: '#c56e88',
    500: '#a5285a',
    950: '#000000',
  },
}
SCSS
$custom: #a5285a;
$custom-light: #c56e88;
$custom-dark: #000000;
JSON
{
  "hex": "#a5285a",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 336,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48966,
    "c": 0.16486,
    "h": 1.4
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#A5285A
secondary
#67C29D
accent
#E4A444
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5285A

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

Preview Lab → · Contrast checker → · Palette generator →

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