#A5284D#A5284D

#A5284D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.162 H 8.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A5284D
RGBrgb(165, 40, 77)
HSLhsl(342, 61%, 40%)
HSVhsv(342, 76%, 65%)
CMYKcmyk(0%, 75.8%, 53.3%, 35.3%)
CIE-LABlab(37.94, 52.58, 9.12)
CIE-LCHlch(37.94, 53.36, 9.84°)
OKLaboklab(48.58% 0.16 0.0234)
OKLCHoklch(48.58% 0.162 8.3)
XYZxyz(17.6170, 10.0552, 8.0329)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5284D #28A580
analogous
#A5288B #A5284D #A54128
triadic
#A5284D #4DA528 #284DA5
tetradic
#A5284D #8BA528 #28A580 #4128A5
square
#A5284D #8BA528 #28A580 #4128A5
split-complementary
#A5284D #28A541 #288BA5
monochromatic
#42101F #741C36 #A5284D #CF3B67 #DB6C8D

Accessibility & contrast

On white

6.98
#A5284D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A5284D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5284D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5284D#FFFFFF#000000##FFFFFF
##A5284D1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48494E
Deuteranopia (green-blind)
#68624A
Tritanopia (blue-blind)
#B40438
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5284d;
/* rgb */ color: rgb(165, 40, 77);
/* oklch */ color: oklch(48.6% 0.162 8.3);
Tailwind
colors: {
  custom: {
    50: '#c66d7e',
    500: '#a5284d',
    950: '#000000',
  },
}
SCSS
$custom: #a5284d;
$custom-light: #c66d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5284d",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 342.24,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48584,
    "c": 0.16169,
    "h": 8.3
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#A5284D
secondary
#67C2A7
accent
#E4B544
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B

Preview Lab

Preview with #A5284D

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

Preview Lab → · Contrast checker → · Palette generator →

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