#A5267E#A5267E

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

Color values

HEX#A5267E
RGBrgb(165, 38, 126)
HSLhsl(318, 63%, 40%)
HSVhsv(318, 77%, 65%)
CMYKcmyk(0%, 77%, 23.6%, 35.3%)
CIE-LABlab(39.40, 58.48, -19.64)
CIE-LCHlch(39.40, 61.69, 341.44°)
OKLaboklab(50.2% 0.1765 -0.0525)
OKLCHoklch(50.2% 0.184 343.4)
XYZxyz(19.9768, 10.8940, 20.7853)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5267E #26A54D
analogous
#8D26A5 #A5267E #A5263F
triadic
#A5267E #7EA526 #267EA5
tetradic
#A5267E #A58D26 #26A54D #263FA5
square
#A5267E #A58D26 #26A54D #263FA5
split-complementary
#A5267E #3FA526 #26A58D
monochromatic
#420F32 #731B58 #A5267E #D137A2 #DC69B9

Accessibility & contrast

On white

6.61
#A5267E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A5267E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5267E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5267E#FFFFFF#000000##FFFFFF
##A5267E1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#B0264F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5267e;
/* rgb */ color: rgb(165, 38, 126);
/* oklch */ color: oklch(50.2% 0.184 343.4);
Tailwind
colors: {
  custom: {
    50: '#c46ea3',
    500: '#a5267e',
    950: '#000000',
  },
}
SCSS
$custom: #a5267e;
$custom-light: #c46ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5267e",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 318.425,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50204,
    "c": 0.18415,
    "h": 343.4
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#A5267E
secondary
#64C381
accent
#E67442
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A5267E

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

Preview Lab → · Contrast checker → · Palette generator →

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