#A5266A#A5266A

#A5266A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.173 H 352.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A5266A
RGBrgb(165, 38, 106)
HSLhsl(328, 63%, 40%)
HSVhsv(328, 77%, 65%)
CMYKcmyk(0%, 77%, 35.8%, 35.3%)
CIE-LABlab(38.60, 56.04, -8.36)
CIE-LCHlch(38.60, 56.66, 351.52°)
OKLaboklab(49.36% 0.1719 -0.0214)
OKLCHoklch(49.36% 0.173 352.9)
XYZxyz(18.8129, 10.4285, 14.6551)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5266A #26A561
analogous
#A126A5 #A5266A #A5262A
triadic
#A5266A #6AA526 #266AA5
tetradic
#A5266A #A5A126 #26A561 #262AA5
square
#A5266A #A5A126 #26A561 #262AA5
split-complementary
#A5266A #2AA526 #26A5A1
monochromatic
#420F2A #731B4A #A5266A #D1378A #DC69A7

Accessibility & contrast

On white

6.81
#A5266A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A5266A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5266A
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5266A#FFFFFF#000000##FFFFFF
##A5266A1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4C6C
Deuteranopia (green-blind)
#626367
Tritanopia (blue-blind)
#B21945
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5266a;
/* rgb */ color: rgb(165, 38, 106);
/* oklch */ color: oklch(49.4% 0.173 352.9);
Tailwind
colors: {
  custom: {
    50: '#c46d94',
    500: '#a5266a',
    950: '#000000',
  },
}
SCSS
$custom: #a5266a;
$custom-light: #c46d94;
$custom-dark: #000000;
JSON
{
  "hex": "#a5266a",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 327.874,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49359,
    "c": 0.17327,
    "h": 352.9
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#A5266A
secondary
#64C390
accent
#E68E42
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5266A

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

Preview Lab → · Contrast checker → · Palette generator →

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