#A5285E#A5285E

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

Color values

HEX#A5285E
RGBrgb(165, 40, 94)
HSLhsl(334, 61%, 40%)
HSVhsv(334, 76%, 65%)
CMYKcmyk(0%, 75.8%, 43%, 35.3%)
CIE-LABlab(38.42, 54.12, -1.03)
CIE-LCHlch(38.42, 54.13, 358.91°)
OKLaboklab(49.1% 0.1662 -0.002)
OKLCHoklch(49.1% 0.166 359.3)
XYZxyz(18.2976, 10.3274, 11.6174)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5285E #28A56F
analogous
#A5289D #A5285E #A53028
triadic
#A5285E #5EA528 #285EA5
tetradic
#A5285E #9DA528 #28A56F #3028A5
square
#A5285E #9DA528 #28A56F #3028A5
split-complementary
#A5285E #28A530 #289DA5
monochromatic
#421026 #741C42 #A5285E #CF3B7B #DB6C9C

Accessibility & contrast

On white

6.85
#A5285E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5285E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5285E#FFFFFF#000000##FFFFFF
##A5285E1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5F
Deuteranopia (green-blind)
#65635B
Tritanopia (blue-blind)
#B3143F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5285e;
/* rgb */ color: rgb(165, 40, 94);
/* oklch */ color: oklch(49.1% 0.166 359.3);
Tailwind
colors: {
  custom: {
    50: '#c56e8b',
    500: '#a5285e',
    950: '#000000',
  },
}
SCSS
$custom: #a5285e;
$custom-light: #c56e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5285e",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 334.08,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49097,
    "c": 0.16619,
    "h": 359.3
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#A5285E
secondary
#67C29B
accent
#E49F44
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #A5285E

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

Preview Lab → · Contrast checker → · Palette generator →

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