#A5246B#A5246B

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

Color values

HEX#A5246B
RGBrgb(165, 36, 107)
HSLhsl(327, 64%, 39%)
HSVhsv(327, 78%, 65%)
CMYKcmyk(0%, 78.2%, 35.2%, 35.3%)
CIE-LABlab(38.42, 56.77, -9.26)
CIE-LCHlch(38.42, 57.52, 350.74°)
OKLaboklab(49.24% 0.1742 -0.0239)
OKLCHoklch(49.24% 0.176 352.2)
XYZxyz(18.8029, 10.3249, 14.9098)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5246B #24A55E
analogous
#9F24A5 #A5246B #A5242A
triadic
#A5246B #6BA524 #246BA5
tetradic
#A5246B #A59F24 #24A55E #242AA5
square
#A5246B #A59F24 #24A55E #242AA5
split-complementary
#A5246B #2AA524 #24A59F
monochromatic
#410E2A #73194A #A5246B #D3348B #DE66A8

Accessibility & contrast

On white

6.85
#A5246B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5246B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5246B#FFFFFF#000000##FFFFFF
##A5246B1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C6D
Deuteranopia (green-blind)
#616368
Tritanopia (blue-blind)
#B21745
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5246b;
/* rgb */ color: rgb(165, 36, 107);
/* oklch */ color: oklch(49.2% 0.176 352.2);
Tailwind
colors: {
  custom: {
    50: '#c46d95',
    500: '#a5246b',
    950: '#000000',
  },
}
SCSS
$custom: #a5246b;
$custom-light: #c46d95;
$custom-dark: #000000;
JSON
{
  "hex": "#a5246b",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 326.977,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49239,
    "c": 0.1758,
    "h": 352.2
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#A5246B
secondary
#62C38D
accent
#E78C41
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A5246B

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

Preview Lab → · Contrast checker → · Palette generator →

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