#A5268D#A5268D

#A5268D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.194 H 337.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A5268D
RGBrgb(165, 38, 141)
HSLhsl(311, 63%, 40%)
HSVhsv(311, 77%, 65%)
CMYKcmyk(0%, 77%, 14.5%, 35.3%)
CIE-LABlab(40.10, 60.55, -27.79)
CIE-LCHlch(40.10, 66.63, 335.35°)
OKLaboklab(50.93% 0.1785 -0.0756)
OKLCHoklch(50.93% 0.194 337)
XYZxyz(21.0183, 11.3106, 26.2704)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5268D #26A53E
analogous
#7E26A5 #A5268D #A5264D
triadic
#A5268D #8DA526 #268DA5
tetradic
#A5268D #A57E26 #26A53E #264DA5
square
#A5268D #A57E26 #26A53E #264DA5
split-complementary
#A5268D #4DA526 #26A57E
monochromatic
#420F38 #731B62 #A5268D #D137B4 #DC69C7

Accessibility & contrast

On white

6.44
#A5268D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A5268D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5268D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5268D#FFFFFF#000000##FFFFFF
##A5268D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#AE2E57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5268d;
/* rgb */ color: rgb(165, 38, 141);
/* oklch */ color: oklch(50.9% 0.194 337.0);
Tailwind
colors: {
  custom: {
    50: '#c46fae',
    500: '#a5268d',
    950: '#000000',
  },
}
SCSS
$custom: #a5268d;
$custom-light: #c46fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5268d",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 311.339,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.1939,
    "h": 337
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#A5268D
secondary
#64C376
accent
#E66142
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5268D

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

Preview Lab → · Contrast checker → · Palette generator →

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