#A5267F#A5267F

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

Color values

HEX#A5267F
RGBrgb(165, 38, 127)
HSLhsl(318, 63%, 40%)
HSVhsv(318, 77%, 65%)
CMYKcmyk(0%, 77%, 23%, 35.3%)
CIE-LABlab(39.45, 58.61, -20.19)
CIE-LCHlch(39.45, 61.99, 340.99°)
OKLaboklab(50.25% 0.1767 -0.0541)
OKLCHoklch(50.25% 0.185 343)
XYZxyz(20.0417, 10.9200, 21.1269)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5267F #26A54C
analogous
#8C26A5 #A5267F #A5263F
triadic
#A5267F #7FA526 #267FA5
tetradic
#A5267F #A58C26 #26A54C #263FA5
square
#A5267F #A58C26 #26A54C #263FA5
split-complementary
#A5267F #3FA526 #26A58C
monochromatic
#420F32 #731B59 #A5267F #D137A3 #DC69BA

Accessibility & contrast

On white

6.60
#A5267F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5267F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5267F#FFFFFF#000000##FFFFFF
##A5267F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#5C647C
Tritanopia (blue-blind)
#B02750
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5267f;
/* rgb */ color: rgb(165, 38, 127);
/* oklch */ color: oklch(50.2% 0.185 343.0);
Tailwind
colors: {
  custom: {
    50: '#c46ea4',
    500: '#a5267f',
    950: '#000000',
  },
}
SCSS
$custom: #a5267f;
$custom-light: #c46ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a5267f",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 317.953,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5025,
    "c": 0.18476,
    "h": 343
  },
  "luminance": 0.10918
}

Semantic roles & 50–950 ramp

primary
#A5267F
secondary
#64C380
accent
#E67342
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A5267F

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

Preview Lab → · Contrast checker → · Palette generator →

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