#A5285B#A5285B

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

Color values

HEX#A5285B
RGBrgb(165, 40, 91)
HSLhsl(336, 61%, 40%)
HSVhsv(336, 76%, 65%)
CMYKcmyk(0%, 75.8%, 44.8%, 35.3%)
CIE-LABlab(38.33, 53.83, 0.75)
CIE-LCHlch(38.33, 53.83, 0.79°)
OKLaboklab(49% 0.1652 0.0025)
OKLCHoklch(49% 0.165 0.9)
XYZxyz(18.1656, 10.2746, 10.9221)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5285B #28A572
analogous
#A5289A #A5285B #A53328
triadic
#A5285B #5BA528 #285BA5
tetradic
#A5285B #9AA528 #28A572 #3328A5
square
#A5285B #9AA528 #28A572 #3328A5
split-complementary
#A5285B #28A533 #289AA5
monochromatic
#421025 #741C40 #A5285B #CF3B77 #DB6C99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5285B#FFFFFF#000000##FFFFFF
##A5285B1.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)
#444B5C
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#B3113E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5285b;
/* rgb */ color: rgb(165, 40, 91);
/* oklch */ color: oklch(49.0% 0.165 0.9);
Tailwind
colors: {
  custom: {
    50: '#c56e89',
    500: '#a5285b',
    950: '#000000',
  },
}
SCSS
$custom: #a5285b;
$custom-light: #c56e89;
$custom-dark: #000000;
JSON
{
  "hex": "#a5285b",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 335.52,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48998,
    "c": 0.16518,
    "h": 0.9
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#A5285B
secondary
#67C29D
accent
#E4A344
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5285B

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

Preview Lab → · Contrast checker → · Palette generator →

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