#A5284A#A5284A

#A5284A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.161 H 9.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A5284A
RGBrgb(165, 40, 74)
HSLhsl(344, 61%, 40%)
HSVhsv(344, 76%, 65%)
CMYKcmyk(0%, 75.8%, 55.2%, 35.3%)
CIE-LABlab(37.87, 52.34, 10.93)
CIE-LCHlch(37.87, 53.47, 11.80°)
OKLaboklab(48.51% 0.1588 0.0277)
OKLCHoklch(48.51% 0.161 9.9)
XYZxyz(17.5135, 10.0138, 7.4879)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5284A #28A583
analogous
#A52888 #A5284A #A54428
triadic
#A5284A #4AA528 #284AA5
tetradic
#A5284A #88A528 #28A583 #4428A5
square
#A5284A #88A528 #28A583 #4428A5
split-complementary
#A5284A #28A544 #2888A5
monochromatic
#42101E #741C34 #A5284A #CF3B63 #DB6C8A

Accessibility & contrast

On white

6.99
#A5284A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#A5284A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5284A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5284A#FFFFFF#000000##FFFFFF
##A5284A1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48494B
Deuteranopia (green-blind)
#696247
Tritanopia (blue-blind)
#B40136
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5284a;
/* rgb */ color: rgb(165, 40, 74);
/* oklch */ color: oklch(48.5% 0.161 9.9);
Tailwind
colors: {
  custom: {
    50: '#c66d7c',
    500: '#a5284a',
    950: '#000000',
  },
}
SCSS
$custom: #a5284a;
$custom-light: #c66d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5284a",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 74
  },
  "hsl": {
    "h": 343.68,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48505,
    "c": 0.16122,
    "h": 9.9
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#A5284A
secondary
#67C2A9
accent
#E4B844
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B

Preview Lab

Preview with #A5284A

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

Preview Lab → · Contrast checker → · Palette generator →

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