#A5284C#A5284C

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

Color values

HEX#A5284C
RGBrgb(165, 40, 76)
HSLhsl(343, 61%, 40%)
HSVhsv(343, 76%, 65%)
CMYKcmyk(0%, 75.8%, 53.9%, 35.3%)
CIE-LABlab(37.92, 52.49, 9.72)
CIE-LCHlch(37.92, 53.39, 10.49°)
OKLaboklab(48.56% 0.1596 0.0248)
OKLCHoklch(48.56% 0.162 8.8)
XYZxyz(17.5820, 10.0412, 7.8484)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5284C #28A581
analogous
#A5288A #A5284C #A54228
triadic
#A5284C #4CA528 #284CA5
tetradic
#A5284C #8AA528 #28A581 #4228A5
square
#A5284C #8AA528 #28A581 #4228A5
split-complementary
#A5284C #28A542 #288AA5
monochromatic
#42101F #741C35 #A5284C #CF3B66 #DB6C8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5284C#FFFFFF#000000##FFFFFF
##A5284C1.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)
#48494D
Deuteranopia (green-blind)
#696249
Tritanopia (blue-blind)
#B40337
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5284c;
/* rgb */ color: rgb(165, 40, 76);
/* oklch */ color: oklch(48.6% 0.162 8.8);
Tailwind
colors: {
  custom: {
    50: '#c66d7d',
    500: '#a5284c',
    950: '#000000',
  },
}
SCSS
$custom: #a5284c;
$custom-light: #c66d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5284c",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 342.72,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48557,
    "c": 0.16152,
    "h": 8.8
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#A5284C
secondary
#67C2A8
accent
#E4B644
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B

Preview Lab

Preview with #A5284C

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

Preview Lab → · Contrast checker → · Palette generator →

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