#A5248E#A5248E

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

Color values

HEX#A5248E
RGBrgb(165, 36, 142)
HSLhsl(311, 64%, 39%)
HSVhsv(311, 78%, 65%)
CMYKcmyk(0%, 78.2%, 13.9%, 35.3%)
CIE-LABlab(39.94, 61.29, -28.64)
CIE-LCHlch(39.94, 67.65, 334.95°)
OKLaboklab(50.84% 0.1804 -0.0781)
OKLCHoklch(50.84% 0.197 336.6)
XYZxyz(21.0308, 11.2161, 26.6433)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5248E #24A53B
analogous
#7C24A5 #A5248E #A5244D
triadic
#A5248E #8EA524 #248EA5
tetradic
#A5248E #A57C24 #24A53B #244DA5
square
#A5248E #A57C24 #24A53B #244DA5
split-complementary
#A5248E #4DA524 #24A57C
monochromatic
#410E38 #731963 #A5248E #D334B6 #DE66C8

Accessibility & contrast

On white

6.48
#A5248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5248E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5248E#FFFFFF#000000##FFFFFF
##A5248E1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#AE2E57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5248e;
/* rgb */ color: rgb(165, 36, 142);
/* oklch */ color: oklch(50.8% 0.197 336.6);
Tailwind
colors: {
  custom: {
    50: '#c46eaf',
    500: '#a5248e',
    950: '#000000',
  },
}
SCSS
$custom: #a5248e;
$custom-light: #c46eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a5248e",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 310.698,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.19656,
    "h": 336.6
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#A5248E
secondary
#62C373
accent
#E75E41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5248E

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

Preview Lab → · Contrast checker → · Palette generator →

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