#A2518D#A2518D

#A2518D is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.4% C 0.131 H 338.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A2518D
RGBrgb(162, 81, 141)
HSLhsl(316, 33%, 48%)
HSVhsv(316, 50%, 64%)
CMYKcmyk(0%, 50%, 13%, 36.5%)
CIE-LABlab(46.30, 41.46, -18.22)
CIE-LCHlch(46.30, 45.29, 336.27°)
OKLaboklab(55.39% 0.1212 -0.049)
OKLCHoklch(55.39% 0.131 338)
XYZxyz(22.6506, 15.4909, 26.9912)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2518D #51A266
analogous
#8F51A2 #A2518D #A25164
triadic
#A2518D #8DA251 #518DA2
tetradic
#A2518D #A28F51 #51A266 #5164A2
square
#A2518D #A28F51 #51A266 #5164A2
split-complementary
#A2518D #64A251 #51A28F
monochromatic
#502846 #793D69 #A2518D #BA76A9 #CF9FC2

Accessibility & contrast

On white

5.12
#A2518D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A2518D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2518D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2518D#FFFFFF#000000##FFFFFF
##A2518D1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53668F
Deuteranopia (green-blind)
#6A728B
Tritanopia (blue-blind)
#AA5368
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a2518d;
/* rgb */ color: rgb(162, 81, 141);
/* oklch */ color: oklch(55.4% 0.131 338.0);
Tailwind
colors: {
  custom: {
    50: '#bf85ae',
    500: '#a2518d',
    950: '#000000',
  },
}
SCSS
$custom: #a2518d;
$custom-light: #bf85ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a2518d",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 315.556,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55388,
    "c": 0.13071,
    "h": 338
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#A2518D
secondary
#93BC9E
accent
#C97A5E
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #A2518D

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

Preview Lab → · Contrast checker → · Palette generator →

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