#A5246A#A5246A

#A5246A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.175 H 352.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A5246A
RGBrgb(165, 36, 106)
HSLhsl(327, 64%, 39%)
HSVhsv(327, 78%, 65%)
CMYKcmyk(0%, 78.2%, 35.8%, 35.3%)
CIE-LABlab(38.38, 56.66, -8.68)
CIE-LCHlch(38.38, 57.32, 351.29°)
OKLaboklab(49.2% 0.1739 -0.0223)
OKLCHoklch(49.2% 0.175 352.7)
XYZxyz(18.7506, 10.3040, 14.6343)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5246A #24A55F
analogous
#A024A5 #A5246A #A5242A
triadic
#A5246A #6AA524 #246AA5
tetradic
#A5246A #A5A024 #24A55F #242AA5
square
#A5246A #A5A024 #24A55F #242AA5
split-complementary
#A5246A #2AA524 #24A5A0
monochromatic
#410E29 #73194A #A5246A #D3348A #DE66A7

Accessibility & contrast

On white

6.86
#A5246A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A5246A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5246A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5246A#FFFFFF#000000##FFFFFF
##A5246A1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4B6C
Deuteranopia (green-blind)
#616367
Tritanopia (blue-blind)
#B21644
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5246a;
/* rgb */ color: rgb(165, 36, 106);
/* oklch */ color: oklch(49.2% 0.175 352.7);
Tailwind
colors: {
  custom: {
    50: '#c46d94',
    500: '#a5246a',
    950: '#000000',
  },
}
SCSS
$custom: #a5246a;
$custom-light: #c46d94;
$custom-dark: #000000;
JSON
{
  "hex": "#a5246a",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 327.442,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.492,
    "c": 0.17533,
    "h": 352.7
  },
  "luminance": 0.10302
}

Semantic roles & 50–950 ramp

primary
#A5246A
secondary
#62C38E
accent
#E78D41
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A5246A

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

Preview Lab → · Contrast checker → · Palette generator →

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