#A5267D#A5267D

#A5267D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.184 H 343.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A5267D
RGBrgb(165, 38, 125)
HSLhsl(319, 63%, 40%)
HSVhsv(319, 77%, 65%)
CMYKcmyk(0%, 77%, 24.2%, 35.3%)
CIE-LABlab(39.36, 58.35, -19.09)
CIE-LCHlch(39.36, 61.39, 341.89°)
OKLaboklab(50.16% 0.1763 -0.051)
OKLCHoklch(50.16% 0.184 343.9)
XYZxyz(19.9126, 10.8684, 20.4472)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5267D #26A54E
analogous
#8E26A5 #A5267D #A5263D
triadic
#A5267D #7DA526 #267DA5
tetradic
#A5267D #A58E26 #26A54E #263DA5
square
#A5267D #A58E26 #26A54E #263DA5
split-complementary
#A5267D #3DA526 #26A58E
monochromatic
#420F32 #731B57 #A5267D #D137A1 #DC69B8

Accessibility & contrast

On white

6.62
#A5267D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A5267D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5267D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5267D#FFFFFF#000000##FFFFFF
##A5267D1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#B0254F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5267d;
/* rgb */ color: rgb(165, 38, 125);
/* oklch */ color: oklch(50.2% 0.184 343.9);
Tailwind
colors: {
  custom: {
    50: '#c46ea2',
    500: '#a5267d',
    950: '#000000',
  },
}
SCSS
$custom: #a5267d;
$custom-light: #c46ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5267d",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 318.898,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.18354,
    "h": 343.9
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#A5267D
secondary
#64C382
accent
#E67642
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A5267D

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

Preview Lab → · Contrast checker → · Palette generator →

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