#A5275A#A5275A

#A5275A is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.166 H 1.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A5275A
RGBrgb(165, 39, 90)
HSLhsl(336, 62%, 40%)
HSVhsv(336, 76%, 65%)
CMYKcmyk(0%, 76.4%, 45.5%, 35.3%)
CIE-LABlab(38.18, 54.06, 1.17)
CIE-LCHlch(38.18, 54.07, 1.24°)
OKLaboklab(48.88% 0.1659 0.0036)
OKLCHoklch(48.88% 0.166 1.2)
XYZxyz(18.0895, 10.1909, 10.6854)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5275A #27A572
analogous
#A52799 #A5275A #A53327
triadic
#A5275A #5AA527 #275AA5
tetradic
#A5275A #99A527 #27A572 #3327A5
square
#A5275A #99A527 #27A572 #3327A5
split-complementary
#A5275A #27A533 #2799A5
monochromatic
#421024 #741B3F #A5275A #D03976 #DC6A98

Accessibility & contrast

On white

6.91
#A5275A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A5275A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5275A
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5275A#FFFFFF#000000##FFFFFF
##A5275A1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B30E3D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5275a;
/* rgb */ color: rgb(165, 39, 90);
/* oklch */ color: oklch(48.9% 0.166 1.2);
Tailwind
colors: {
  custom: {
    50: '#c56d88',
    500: '#a5275a',
    950: '#000000',
  },
}
SCSS
$custom: #a5275a;
$custom-light: #c56d88;
$custom-dark: #000000;
JSON
{
  "hex": "#a5275a",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 90
  },
  "hsl": {
    "h": 335.714,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48879,
    "c": 0.16591,
    "h": 1.2
  },
  "luminance": 0.10189
}

Semantic roles & 50–950 ramp

primary
#A5275A
secondary
#66C29D
accent
#E5A343
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5275A

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

Preview Lab → · Contrast checker → · Palette generator →

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