#A5285F#A5285F

#A5285F is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.167 H 358.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A5285F
RGBrgb(165, 40, 95)
HSLhsl(334, 61%, 40%)
HSVhsv(334, 76%, 65%)
CMYKcmyk(0%, 75.8%, 42.4%, 35.3%)
CIE-LABlab(38.46, 54.22, -1.61)
CIE-LCHlch(38.46, 54.25, 358.30°)
OKLaboklab(49.13% 0.1665 -0.0036)
OKLCHoklch(49.13% 0.167 358.8)
XYZxyz(18.3428, 10.3455, 11.8552)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5285F #28A56E
analogous
#A5289E #A5285F #A52F28
triadic
#A5285F #5FA528 #285FA5
tetradic
#A5285F #9EA528 #28A56E #2F28A5
square
#A5285F #9EA528 #28A56E #2F28A5
split-complementary
#A5285F #28A52F #289EA5
monochromatic
#421026 #741C43 #A5285F #CF3B7C #DB6C9D

Accessibility & contrast

On white

6.84
#A5285F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A5285F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5285F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5285F#FFFFFF#000000##FFFFFF
##A5285F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#B31440
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5285f;
/* rgb */ color: rgb(165, 40, 95);
/* oklch */ color: oklch(49.1% 0.167 358.8);
Tailwind
colors: {
  custom: {
    50: '#c56e8c',
    500: '#a5285f',
    950: '#000000',
  },
}
SCSS
$custom: #a5285f;
$custom-light: #c56e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5285f",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 333.6,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4913,
    "c": 0.16656,
    "h": 358.8
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#A5285F
secondary
#67C29A
accent
#E49E44
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #A5285F

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

Preview Lab → · Contrast checker → · Palette generator →

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