#A5248F#A5248F

#A5248F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.9% C 0.197 H 336.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A5248F
RGBrgb(165, 36, 143)
HSLhsl(310, 64%, 39%)
HSVhsv(310, 78%, 65%)
CMYKcmyk(0%, 78.2%, 13.3%, 35.3%)
CIE-LABlab(39.99, 61.43, -29.18)
CIE-LCHlch(39.99, 68.01, 334.60°)
OKLaboklab(50.89% 0.1805 -0.0796)
OKLCHoklch(50.89% 0.197 336.2)
XYZxyz(21.1062, 11.2462, 27.0404)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5248F #24A53A
analogous
#7B24A5 #A5248F #A5244E
triadic
#A5248F #8FA524 #248FA5
tetradic
#A5248F #A57B24 #24A53A #244EA5
square
#A5248F #A57B24 #24A53A #244EA5
split-complementary
#A5248F #4EA524 #24A57B
monochromatic
#410E38 #731963 #A5248F #D334B7 #DE66C9

Accessibility & contrast

On white

6.46
#A5248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A5248F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5248F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5248F#FFFFFF#000000##FFFFFF
##A5248F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#AE2E58
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5248f;
/* rgb */ color: rgb(165, 36, 143);
/* oklch */ color: oklch(50.9% 0.197 336.2);
Tailwind
colors: {
  custom: {
    50: '#c46eb0',
    500: '#a5248f',
    950: '#000000',
  },
}
SCSS
$custom: #a5248f;
$custom-light: #c46eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5248f",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 310.233,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.19725,
    "h": 336.2
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#A5248F
secondary
#62C372
accent
#E75D41
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5248F

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

Preview Lab → · Contrast checker → · Palette generator →

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