#A5267A#A5267A

#A5267A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.182 H 345.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A5267A
RGBrgb(165, 38, 122)
HSLhsl(320, 63%, 40%)
HSVhsv(320, 77%, 65%)
CMYKcmyk(0%, 77%, 26.1%, 35.3%)
CIE-LABlab(39.23, 57.96, -17.42)
CIE-LCHlch(39.23, 60.52, 343.27°)
OKLaboklab(50.02% 0.1758 -0.0463)
OKLCHoklch(50.02% 0.182 345.2)
XYZxyz(19.7239, 10.7929, 19.4531)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5267A #26A551
analogous
#9126A5 #A5267A #A5263A
triadic
#A5267A #7AA526 #267AA5
tetradic
#A5267A #A59126 #26A551 #263AA5
square
#A5267A #A59126 #26A551 #263AA5
split-complementary
#A5267A #3AA526 #26A591
monochromatic
#420F30 #731B55 #A5267A #D1379D #DC69B5

Accessibility & contrast

On white

6.65
#A5267A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A5267A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5267A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5267A#FFFFFF#000000##FFFFFF
##A5267A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#B0244D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5267a;
/* rgb */ color: rgb(165, 38, 122);
/* oklch */ color: oklch(50.0% 0.182 345.2);
Tailwind
colors: {
  custom: {
    50: '#c46ea0',
    500: '#a5267a',
    950: '#000000',
  },
}
SCSS
$custom: #a5267a;
$custom-light: #c46ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5267a",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 320.315,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.18176,
    "h": 345.2
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#A5267A
secondary
#64C384
accent
#E67A42
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A5267A

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

Preview Lab → · Contrast checker → · Palette generator →

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