#A5268C#A5268C

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

Color values

HEX#A5268C
RGBrgb(165, 38, 140)
HSLhsl(312, 63%, 40%)
HSVhsv(312, 77%, 65%)
CMYKcmyk(0%, 77%, 15.2%, 35.3%)
CIE-LABlab(40.05, 60.41, -27.25)
CIE-LCHlch(40.05, 66.27, 335.72°)
OKLaboklab(50.88% 0.1784 -0.0741)
OKLCHoklch(50.88% 0.193 337.4)
XYZxyz(20.9442, 11.2810, 25.8803)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5268C #26A53F
analogous
#7F26A5 #A5268C #A5264D
triadic
#A5268C #8CA526 #268CA5
tetradic
#A5268C #A57F26 #26A53F #264DA5
square
#A5268C #A57F26 #26A53F #264DA5
split-complementary
#A5268C #4DA526 #26A57F
monochromatic
#420F38 #731B62 #A5268C #D137B3 #DC69C6

Accessibility & contrast

On white

6.45
#A5268C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5268C
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5268C#FFFFFF#000000##FFFFFF
##A5268C1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#576589
Tritanopia (blue-blind)
#AE2E57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5268c;
/* rgb */ color: rgb(165, 38, 140);
/* oklch */ color: oklch(50.9% 0.193 337.4);
Tailwind
colors: {
  custom: {
    50: '#c46fae',
    500: '#a5268c',
    950: '#000000',
  },
}
SCSS
$custom: #a5268c;
$custom-light: #c46fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5268c",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 311.811,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.19322,
    "h": 337.4
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#A5268C
secondary
#64C377
accent
#E66242
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5268C

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

Preview Lab → · Contrast checker → · Palette generator →

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