#A5276B#A5276B

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

Color values

HEX#A5276B
RGBrgb(165, 39, 107)
HSLhsl(328, 62%, 40%)
HSVhsv(328, 76%, 65%)
CMYKcmyk(0%, 76.4%, 35.2%, 35.3%)
CIE-LABlab(38.75, 55.84, -8.76)
CIE-LCHlch(38.75, 56.52, 351.08°)
OKLaboklab(49.48% 0.1712 -0.0225)
OKLCHoklch(49.48% 0.173 352.5)
XYZxyz(18.8976, 10.5142, 14.9413)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5276B #27A561
analogous
#A027A5 #A5276B #A5272C
triadic
#A5276B #6BA527 #276BA5
tetradic
#A5276B #A5A027 #27A561 #272CA5
square
#A5276B #A5A027 #27A561 #272CA5
split-complementary
#A5276B #2CA527 #27A5A0
monochromatic
#42102B #741B4B #A5276B #D0398B #DC6AA8

Accessibility & contrast

On white

6.77
#A5276B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5276B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5276B#FFFFFF#000000##FFFFFF
##A5276B1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5276b;
/* rgb */ color: rgb(165, 39, 107);
/* oklch */ color: oklch(49.5% 0.173 352.5);
Tailwind
colors: {
  custom: {
    50: '#c46e95',
    500: '#a5276b',
    950: '#000000',
  },
}
SCSS
$custom: #a5276b;
$custom-light: #c46e95;
$custom-dark: #000000;
JSON
{
  "hex": "#a5276b",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 327.619,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.4948,
    "c": 0.17269,
    "h": 352.5
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#A5276B
secondary
#66C290
accent
#E58D43
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5276B

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

Preview Lab → · Contrast checker → · Palette generator →

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