#A5285C#A5285C

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

Color values

HEX#A5285C
RGBrgb(165, 40, 92)
HSLhsl(335, 61%, 40%)
HSVhsv(335, 76%, 65%)
CMYKcmyk(0%, 75.8%, 44.2%, 35.3%)
CIE-LABlab(38.36, 53.92, 0.15)
CIE-LCHlch(38.36, 53.92, 0.16°)
OKLaboklab(49.03% 0.1655 0.001)
OKLCHoklch(49.03% 0.166 0.3)
XYZxyz(18.2090, 10.2920, 11.1508)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5285C #28A571
analogous
#A5289B #A5285C #A53228
triadic
#A5285C #5CA528 #285CA5
tetradic
#A5285C #9BA528 #28A571 #3228A5
square
#A5285C #9BA528 #28A571 #3228A5
split-complementary
#A5285C #28A532 #289BA5
monochromatic
#421025 #741C41 #A5285C #CF3B79 #DB6C9A

Accessibility & contrast

On white

6.87
#A5285C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A5285C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5285C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5285C#FFFFFF#000000##FFFFFF
##A5285C1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444B5D
Deuteranopia (green-blind)
#666359
Tritanopia (blue-blind)
#B3123F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5285c;
/* rgb */ color: rgb(165, 40, 92);
/* oklch */ color: oklch(49.0% 0.166 0.3);
Tailwind
colors: {
  custom: {
    50: '#c56e8a',
    500: '#a5285c',
    950: '#000000',
  },
}
SCSS
$custom: #a5285c;
$custom-light: #c56e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5285c",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 335.04,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.16551,
    "h": 0.3
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#A5285C
secondary
#67C29C
accent
#E4A144
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5285C

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

Preview Lab → · Contrast checker → · Palette generator →

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