#A5266C#A5266C

#A5266C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.174 H 351.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A5266C
RGBrgb(165, 38, 108)
HSLhsl(327, 63%, 40%)
HSVhsv(327, 77%, 65%)
CMYKcmyk(0%, 77%, 34.5%, 35.3%)
CIE-LABlab(38.67, 56.27, -9.51)
CIE-LCHlch(38.67, 57.07, 350.41°)
OKLaboklab(49.44% 0.1725 -0.0246)
OKLCHoklch(49.44% 0.174 351.9)
XYZxyz(18.9181, 10.4705, 15.2092)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5266C #26A55F
analogous
#9F26A5 #A5266C #A5262C
triadic
#A5266C #6CA526 #266CA5
tetradic
#A5266C #A59F26 #26A55F #262CA5
square
#A5266C #A59F26 #26A55F #262CA5
split-complementary
#A5266C #2CA526 #26A59F
monochromatic
#420F2B #731B4B #A5266C #D1378C #DC69A9

Accessibility & contrast

On white

6.79
#A5266C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A5266C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5266C
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5266C#FFFFFF#000000##FFFFFF
##A5266C1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6E
Deuteranopia (green-blind)
#616369
Tritanopia (blue-blind)
#B21B46
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5266c;
/* rgb */ color: rgb(165, 38, 108);
/* oklch */ color: oklch(49.4% 0.174 351.9);
Tailwind
colors: {
  custom: {
    50: '#c46d96',
    500: '#a5266c',
    950: '#000000',
  },
}
SCSS
$custom: #a5266c;
$custom-light: #c46d96;
$custom-dark: #000000;
JSON
{
  "hex": "#a5266c",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 326.929,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.17423,
    "h": 351.9
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#A5266C
secondary
#64C38F
accent
#E68C42
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5266C

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

Preview Lab → · Contrast checker → · Palette generator →

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