#A5305E#A5305E

#A5305E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.157 H 0.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A5305E
RGBrgb(165, 48, 94)
HSLhsl(336, 55%, 42%)
HSVhsv(336, 71%, 65%)
CMYKcmyk(0%, 70.9%, 43%, 35.3%)
CIE-LABlab(39.45, 51.25, 0.48)
CIE-LCHlch(39.45, 51.25, 0.53°)
OKLaboklab(49.85% 0.157 0.0018)
OKLCHoklch(49.85% 0.157 0.7)
XYZxyz(18.5957, 10.9237, 11.7167)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5305E #30A577
analogous
#A53099 #A5305E #A53C30
triadic
#A5305E #5EA530 #305EA5
tetradic
#A5305E #99A530 #30A577 #3C30A5
square
#A5305E #99A530 #30A577 #3C30A5
split-complementary
#A5305E #30A53C #3099A5
monochromatic
#461428 #762243 #A5305E #CA487B #D8789D

Accessibility & contrast

On white

6.60
#A5305E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A5305E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5305E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5305E#FFFFFF#000000##FFFFFF
##A5305E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F5F
Deuteranopia (green-blind)
#68655B
Tritanopia (blue-blind)
#B32043
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5305e;
/* rgb */ color: rgb(165, 48, 94);
/* oklch */ color: oklch(49.9% 0.157 0.7);
Tailwind
colors: {
  custom: {
    50: '#c4718b',
    500: '#a5305e',
    950: '#000000',
  },
}
SCSS
$custom: #a5305e;
$custom-light: #c4718b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5305e",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 336.41,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49854,
    "c": 0.15703,
    "h": 0.7
  },
  "luminance": 0.10921
}

Semantic roles & 50–950 ramp

primary
#A5305E
secondary
#71C0A1
accent
#DEA44A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A5305E

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

Preview Lab → · Contrast checker → · Palette generator →

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