#A5266D#A5266D

#A5266D is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.175 H 351.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A5266D
RGBrgb(165, 38, 109)
HSLhsl(326, 63%, 40%)
HSVhsv(326, 77%, 65%)
CMYKcmyk(0%, 77%, 33.9%, 35.3%)
CIE-LABlab(38.71, 56.38, -10.08)
CIE-LCHlch(38.71, 57.28, 349.86°)
OKLaboklab(49.48% 0.1728 -0.0261)
OKLCHoklch(49.48% 0.175 351.4)
XYZxyz(18.9716, 10.4920, 15.4911)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5266D #26A55E
analogous
#9E26A5 #A5266D #A5262D
triadic
#A5266D #6DA526 #266DA5
tetradic
#A5266D #A59E26 #26A55E #262DA5
square
#A5266D #A59E26 #26A55E #262DA5
split-complementary
#A5266D #2DA526 #26A59E
monochromatic
#420F2B #731B4C #A5266D #D1378D #DC69AA

Accessibility & contrast

On white

6.78
#A5266D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A5266D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5266D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5266D#FFFFFF#000000##FFFFFF
##A5266D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4D6F
Deuteranopia (green-blind)
#61636A
Tritanopia (blue-blind)
#B21B46
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5266d;
/* rgb */ color: rgb(165, 38, 109);
/* oklch */ color: oklch(49.5% 0.175 351.4);
Tailwind
colors: {
  custom: {
    50: '#c46d96',
    500: '#a5266d',
    950: '#000000',
  },
}
SCSS
$custom: #a5266d;
$custom-light: #c46d96;
$custom-dark: #000000;
JSON
{
  "hex": "#a5266d",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 326.457,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.17472,
    "h": 351.4
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

primary
#A5266D
secondary
#64C38E
accent
#E68A42
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5266D

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

Preview Lab → · Contrast checker → · Palette generator →

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