#A5267B#A5267B

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

Color values

HEX#A5267B
RGBrgb(165, 38, 123)
HSLhsl(320, 63%, 40%)
HSVhsv(320, 77%, 65%)
CMYKcmyk(0%, 77%, 25.5%, 35.3%)
CIE-LABlab(39.27, 58.09, -17.98)
CIE-LCHlch(39.27, 60.81, 342.80°)
OKLaboklab(50.07% 0.176 -0.0479)
OKLCHoklch(50.07% 0.182 344.8)
XYZxyz(19.7862, 10.8178, 19.7811)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5267B #26A550
analogous
#9026A5 #A5267B #A5263B
triadic
#A5267B #7BA526 #267BA5
tetradic
#A5267B #A59026 #26A550 #263BA5
square
#A5267B #A59026 #26A550 #263BA5
split-complementary
#A5267B #3BA526 #26A590
monochromatic
#420F31 #731B56 #A5267B #D1379E #DC69B6

Accessibility & contrast

On white

6.64
#A5267B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5267B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5267B#FFFFFF#000000##FFFFFF
##A5267B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#B0244E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5267b;
/* rgb */ color: rgb(165, 38, 123);
/* oklch */ color: oklch(50.1% 0.182 344.8);
Tailwind
colors: {
  custom: {
    50: '#c46ea1',
    500: '#a5267b',
    950: '#000000',
  },
}
SCSS
$custom: #a5267b;
$custom-light: #c46ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5267b",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 319.843,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50068,
    "c": 0.18235,
    "h": 344.8
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5267B

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

Preview Lab → · Contrast checker → · Palette generator →

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