#A5267C#A5267C

#A5267C is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.183 H 344.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A5267C
RGBrgb(165, 38, 124)
HSLhsl(319, 63%, 40%)
HSVhsv(319, 77%, 65%)
CMYKcmyk(0%, 77%, 24.8%, 35.3%)
CIE-LABlab(39.31, 58.22, -18.53)
CIE-LCHlch(39.31, 61.10, 342.34°)
OKLaboklab(50.11% 0.1761 -0.0494)
OKLCHoklch(50.11% 0.183 344.3)
XYZxyz(19.8491, 10.8429, 20.1125)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5267C #26A54F
analogous
#8F26A5 #A5267C #A5263D
triadic
#A5267C #7CA526 #267CA5
tetradic
#A5267C #A58F26 #26A54F #263DA5
square
#A5267C #A58F26 #26A54F #263DA5
split-complementary
#A5267C #3DA526 #26A58F
monochromatic
#420F31 #731B57 #A5267C #D1379F #DC69B7

Accessibility & contrast

On white

6.63
#A5267C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5267C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5267C#FFFFFF#000000##FFFFFF
##A5267C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7E
Deuteranopia (green-blind)
#5D6479
Tritanopia (blue-blind)
#B0254E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5267c;
/* rgb */ color: rgb(165, 38, 124);
/* oklch */ color: oklch(50.1% 0.183 344.3);
Tailwind
colors: {
  custom: {
    50: '#c46ea2',
    500: '#a5267c',
    950: '#000000',
  },
}
SCSS
$custom: #a5267c;
$custom-light: #c46ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5267c",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 319.37,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50113,
    "c": 0.18295,
    "h": 344.3
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#A5267C
secondary
#64C383
accent
#E67742
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A5267C

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

Preview Lab → · Contrast checker → · Palette generator →

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