#A5268B#A5268B

#A5268B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.193 H 337.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A5268B
RGBrgb(165, 38, 139)
HSLhsl(312, 63%, 40%)
HSVhsv(312, 77%, 65%)
CMYKcmyk(0%, 77%, 15.8%, 35.3%)
CIE-LABlab(40.00, 60.27, -26.72)
CIE-LCHlch(40.00, 65.92, 336.09°)
OKLaboklab(50.83% 0.1783 -0.0726)
OKLCHoklch(50.83% 0.193 337.9)
XYZxyz(20.8708, 11.2516, 25.4937)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5268B #26A540
analogous
#7F26A5 #A5268B #A5264C
triadic
#A5268B #8BA526 #268BA5
tetradic
#A5268B #A57F26 #26A540 #264CA5
square
#A5268B #A57F26 #26A540 #264CA5
split-complementary
#A5268B #4CA526 #26A57F
monochromatic
#420F37 #731B61 #A5268B #D137B2 #DC69C5

Accessibility & contrast

On white

6.46
#A5268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A5268B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5268B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5268B#FFFFFF#000000##FFFFFF
##A5268B1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5268b;
/* rgb */ color: rgb(165, 38, 139);
/* oklch */ color: oklch(50.8% 0.193 337.9);
Tailwind
colors: {
  custom: {
    50: '#c46fad',
    500: '#a5268b',
    950: '#000000',
  },
}
SCSS
$custom: #a5268b;
$custom-light: #c46fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a5268b",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 312.283,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.19253,
    "h": 337.9
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5268B

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

Preview Lab → · Contrast checker → · Palette generator →

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