#A5284F#A5284F

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

Color values

HEX#A5284F
RGBrgb(165, 40, 79)
HSLhsl(341, 61%, 40%)
HSVhsv(341, 76%, 65%)
CMYKcmyk(0%, 75.8%, 52.1%, 35.3%)
CIE-LABlab(37.99, 52.74, 7.91)
CIE-LCHlch(37.99, 53.33, 8.53°)
OKLaboklab(48.64% 0.1608 0.0205)
OKLCHoklch(48.64% 0.162 7.3)
XYZxyz(17.6887, 10.0839, 8.4106)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5284F #28A57E
analogous
#A5288D #A5284F #A53F28
triadic
#A5284F #4FA528 #284FA5
tetradic
#A5284F #8DA528 #28A57E #3F28A5
square
#A5284F #8DA528 #28A57E #3F28A5
split-complementary
#A5284F #28A53F #288DA5
monochromatic
#421020 #741C37 #A5284F #CF3B69 #DB6C8F

Accessibility & contrast

On white

6.96
#A5284F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A5284F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5284F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5284F#FFFFFF#000000##FFFFFF
##A5284F1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474950
Deuteranopia (green-blind)
#68624C
Tritanopia (blue-blind)
#B40638
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5284f;
/* rgb */ color: rgb(165, 40, 79);
/* oklch */ color: oklch(48.6% 0.162 7.3);
Tailwind
colors: {
  custom: {
    50: '#c66d80',
    500: '#a5284f',
    950: '#000000',
  },
}
SCSS
$custom: #a5284f;
$custom-light: #c66d80;
$custom-dark: #000000;
JSON
{
  "hex": "#a5284f",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 341.28,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.16206,
    "h": 7.3
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5284F

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

Preview Lab → · Contrast checker → · Palette generator →

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