#A5268A#A5268A

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

Color values

HEX#A5268A
RGBrgb(165, 38, 138)
HSLhsl(313, 63%, 40%)
HSVhsv(313, 77%, 65%)
CMYKcmyk(0%, 77%, 16.4%, 35.3%)
CIE-LABlab(39.95, 60.12, -26.18)
CIE-LCHlch(39.95, 65.58, 336.47°)
OKLaboklab(50.78% 0.1782 -0.071)
OKLCHoklch(50.78% 0.192 338.3)
XYZxyz(20.7981, 11.2226, 25.1107)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5268A #26A541
analogous
#8126A5 #A5268A #A5264A
triadic
#A5268A #8AA526 #268AA5
tetradic
#A5268A #A58126 #26A541 #264AA5
square
#A5268A #A58126 #26A541 #264AA5
split-complementary
#A5268A #4AA526 #26A581
monochromatic
#420F37 #731B60 #A5268A #D137B0 #DC69C4

Accessibility & contrast

On white

6.47
#A5268A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5268A
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5268A#FFFFFF#000000##FFFFFF
##A5268A1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#AE2D56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5268a;
/* rgb */ color: rgb(165, 38, 138);
/* oklch */ color: oklch(50.8% 0.192 338.3);
Tailwind
colors: {
  custom: {
    50: '#c46fac',
    500: '#a5268a',
    950: '#000000',
  },
}
SCSS
$custom: #a5268a;
$custom-light: #c46fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a5268a",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 312.756,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50782,
    "c": 0.19187,
    "h": 338.3
  },
  "luminance": 0.11221
}

Semantic roles & 50–950 ramp

primary
#A5268A
secondary
#64C378
accent
#E66542
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5268A

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

Preview Lab → · Contrast checker → · Palette generator →

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