#A5284E#A5284E

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

Color values

HEX#A5284E
RGBrgb(165, 40, 78)
HSLhsl(342, 61%, 40%)
HSVhsv(342, 76%, 65%)
CMYKcmyk(0%, 75.8%, 52.7%, 35.3%)
CIE-LABlab(37.97, 52.66, 8.52)
CIE-LCHlch(37.97, 53.34, 9.19°)
OKLaboklab(48.61% 0.1604 0.0219)
OKLCHoklch(48.61% 0.162 7.8)
XYZxyz(17.6526, 10.0694, 8.2203)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5284E #28A57F
analogous
#A5288C #A5284E #A54028
triadic
#A5284E #4EA528 #284EA5
tetradic
#A5284E #8CA528 #28A57F #4028A5
square
#A5284E #8CA528 #28A57F #4028A5
split-complementary
#A5284E #28A540 #288CA5
monochromatic
#42101F #741C37 #A5284E #CF3B68 #DB6C8E

Accessibility & contrast

On white

6.97
#A5284E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5284E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5284E#FFFFFF#000000##FFFFFF
##A5284E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48494F
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#B40538
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5284e;
/* rgb */ color: rgb(165, 40, 78);
/* oklch */ color: oklch(48.6% 0.162 7.8);
Tailwind
colors: {
  custom: {
    50: '#c66d7f',
    500: '#a5284e',
    950: '#000000',
  },
}
SCSS
$custom: #a5284e;
$custom-light: #c66d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5284e",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 341.76,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48611,
    "c": 0.16187,
    "h": 7.8
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#A5284E
secondary
#67C2A6
accent
#E4B344
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A5284E

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

Preview Lab → · Contrast checker → · Palette generator →

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