#A5248B#A5248B

#A5248B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.7% C 0.195 H 337.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A5248B
RGBrgb(165, 36, 139)
HSLhsl(312, 64%, 39%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 78.2%, 15.8%, 35.3%)
CIE-LABlab(39.79, 60.86, -27.04)
CIE-LCHlch(39.79, 66.60, 336.04°)
OKLaboklab(50.68% 0.1801 -0.0735)
OKLCHoklch(50.68% 0.195 337.8)
XYZxyz(20.8086, 11.1272, 25.4730)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5248B #24A53E
analogous
#7F24A5 #A5248B #A5244B
triadic
#A5248B #8BA524 #248BA5
tetradic
#A5248B #A57F24 #24A53E #244BA5
square
#A5248B #A57F24 #24A53E #244BA5
split-complementary
#A5248B #4BA524 #24A57F
monochromatic
#410E36 #731961 #A5248B #D334B3 #DE66C5

Accessibility & contrast

On white

6.51
#A5248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A5248B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5248B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5248B#FFFFFF#000000##FFFFFF
##A5248B1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518E
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#AE2C56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5248b;
/* rgb */ color: rgb(165, 36, 139);
/* oklch */ color: oklch(50.7% 0.195 337.8);
Tailwind
colors: {
  custom: {
    50: '#c46ead',
    500: '#a5248b',
    950: '#000000',
  },
}
SCSS
$custom: #a5248b;
$custom-light: #c46ead;
$custom-dark: #000000;
JSON
{
  "hex": "#a5248b",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 312.093,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50683,
    "c": 0.19454,
    "h": 337.8
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#A5248B
secondary
#62C375
accent
#E76241
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5248B

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

Preview Lab → · Contrast checker → · Palette generator →

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