#A5266B#A5266B

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

Color values

HEX#A5266B
RGBrgb(165, 38, 107)
HSLhsl(327, 63%, 40%)
HSVhsv(327, 77%, 65%)
CMYKcmyk(0%, 77%, 35.2%, 35.3%)
CIE-LABlab(38.64, 56.16, -8.93)
CIE-LCHlch(38.64, 56.86, 350.96°)
OKLaboklab(49.4% 0.1722 -0.023)
OKLCHoklch(49.4% 0.174 352.4)
XYZxyz(18.8652, 10.4494, 14.9305)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5266B #26A560
analogous
#A026A5 #A5266B #A5262B
triadic
#A5266B #6BA526 #266BA5
tetradic
#A5266B #A5A026 #26A560 #262BA5
square
#A5266B #A5A026 #26A560 #262BA5
split-complementary
#A5266B #2BA526 #26A5A0
monochromatic
#420F2A #731B4B #A5266B #D1378B #DC69A8

Accessibility & contrast

On white

6.80
#A5266B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5266B
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5266B#FFFFFF#000000##FFFFFF
##A5266B1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4C6D
Deuteranopia (green-blind)
#626368
Tritanopia (blue-blind)
#B21A45
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5266b;
/* rgb */ color: rgb(165, 38, 107);
/* oklch */ color: oklch(49.4% 0.174 352.4);
Tailwind
colors: {
  custom: {
    50: '#c46d95',
    500: '#a5266b',
    950: '#000000',
  },
}
SCSS
$custom: #a5266b;
$custom-light: #c46d95;
$custom-dark: #000000;
JSON
{
  "hex": "#a5266b",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 327.402,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49398,
    "c": 0.17375,
    "h": 352.4
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5266B

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

Preview Lab → · Contrast checker → · Palette generator →

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