#A5285D#A5285D

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

Color values

HEX#A5285D
RGBrgb(165, 40, 93)
HSLhsl(335, 61%, 40%)
HSVhsv(335, 76%, 65%)
CMYKcmyk(0%, 75.8%, 43.6%, 35.3%)
CIE-LABlab(38.39, 54.02, -0.44)
CIE-LCHlch(38.39, 54.02, 359.54°)
OKLaboklab(49.06% 0.1659 -0.0005)
OKLCHoklch(49.06% 0.166 359.8)
XYZxyz(18.2530, 10.3096, 11.3826)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5285D #28A570
analogous
#A5289C #A5285D #A53128
triadic
#A5285D #5DA528 #285DA5
tetradic
#A5285D #9CA528 #28A570 #3128A5
square
#A5285D #9CA528 #28A570 #3128A5
split-complementary
#A5285D #28A531 #289CA5
monochromatic
#421025 #741C41 #A5285D #CF3B7A #DB6C9B

Accessibility & contrast

On white

6.86
#A5285D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5285D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5285D#FFFFFF#000000##FFFFFF
##A5285D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444B5E
Deuteranopia (green-blind)
#66635A
Tritanopia (blue-blind)
#B3133F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5285d;
/* rgb */ color: rgb(165, 40, 93);
/* oklch */ color: oklch(49.1% 0.166 359.8);
Tailwind
colors: {
  custom: {
    50: '#c56e8a',
    500: '#a5285d',
    950: '#000000',
  },
}
SCSS
$custom: #a5285d;
$custom-light: #c56e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5285d",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 334.56,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49063,
    "c": 0.16585,
    "h": 359.8
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#A5285D
secondary
#67C29B
accent
#E4A044
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5285D

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

Preview Lab → · Contrast checker → · Palette generator →

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