#A5248D#A5248D

#A5248D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.8% C 0.196 H 337.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A5248D
RGBrgb(165, 36, 141)
HSLhsl(311, 64%, 39%)
HSVhsv(311, 78%, 65%)
CMYKcmyk(0%, 78.2%, 14.5%, 35.3%)
CIE-LABlab(39.89, 61.15, -28.11)
CIE-LCHlch(39.89, 67.30, 335.31°)
OKLaboklab(50.79% 0.1803 -0.0766)
OKLCHoklch(50.79% 0.196 337)
XYZxyz(20.9561, 11.1862, 26.2496)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5248D #24A53C
analogous
#7D24A5 #A5248D #A5244D
triadic
#A5248D #8DA524 #248DA5
tetradic
#A5248D #A57D24 #24A53C #244DA5
square
#A5248D #A57D24 #24A53C #244DA5
split-complementary
#A5248D #4DA524 #24A57D
monochromatic
#410E37 #731962 #A5248D #D334B5 #DE66C7

Accessibility & contrast

On white

6.49
#A5248D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A5248D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5248D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5248D#FFFFFF#000000##FFFFFF
##A5248D1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285290
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#AE2D57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5248d;
/* rgb */ color: rgb(165, 36, 141);
/* oklch */ color: oklch(50.8% 0.196 337.0);
Tailwind
colors: {
  custom: {
    50: '#c46eae',
    500: '#a5248d',
    950: '#000000',
  },
}
SCSS
$custom: #a5248d;
$custom-light: #c46eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5248d",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 311.163,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.19589,
    "h": 337
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#A5248D
secondary
#62C374
accent
#E76041
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5248D

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

Preview Lab → · Contrast checker → · Palette generator →

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