#A5266F#A5266F

#A5266F is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.176 H 350.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A5266F
RGBrgb(165, 38, 111)
HSLhsl(326, 63%, 40%)
HSVhsv(326, 77%, 65%)
CMYKcmyk(0%, 77%, 32.7%, 35.3%)
CIE-LABlab(38.79, 56.62, -11.22)
CIE-LCHlch(38.79, 57.72, 348.79°)
OKLaboklab(49.56% 0.1733 -0.0292)
OKLCHoklch(49.56% 0.176 350.4)
XYZxyz(19.0805, 10.5355, 16.0646)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5266F #26A55C
analogous
#9C26A5 #A5266F #A5262F
triadic
#A5266F #6FA526 #266FA5
tetradic
#A5266F #A59C26 #26A55C #262FA5
square
#A5266F #A59C26 #26A55C #262FA5
split-complementary
#A5266F #2FA526 #26A59C
monochromatic
#420F2C #731B4E #A5266F #D13790 #DC69AB

Accessibility & contrast

On white

6.76
#A5266F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A5266F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5266F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5266F#FFFFFF#000000##FFFFFF
##A5266F1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4D71
Deuteranopia (green-blind)
#61636C
Tritanopia (blue-blind)
#B21D47
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5266f;
/* rgb */ color: rgb(165, 38, 111);
/* oklch */ color: oklch(49.6% 0.176 350.4);
Tailwind
colors: {
  custom: {
    50: '#c46e98',
    500: '#a5266f',
    950: '#000000',
  },
}
SCSS
$custom: #a5266f;
$custom-light: #c46e98;
$custom-dark: #000000;
JSON
{
  "hex": "#a5266f",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 325.512,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49556,
    "c": 0.17572,
    "h": 350.4
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#A5266F
secondary
#64C38C
accent
#E68842
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5266F

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

Preview Lab → · Contrast checker → · Palette generator →

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