#A5305C#A5305C

#A5305C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.8% C 0.156 H 1.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A5305C
RGBrgb(165, 48, 92)
HSLhsl(337, 55%, 42%)
HSVhsv(337, 71%, 65%)
CMYKcmyk(0%, 70.9%, 44.2%, 35.3%)
CIE-LABlab(39.39, 51.05, 1.65)
CIE-LCHlch(39.39, 51.07, 1.86°)
OKLaboklab(49.79% 0.1563 0.0049)
OKLCHoklch(49.79% 0.156 1.8)
XYZxyz(18.5072, 10.8883, 11.2502)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5305C #30A579
analogous
#A53097 #A5305C #A53F30
triadic
#A5305C #5CA530 #305CA5
tetradic
#A5305C #97A530 #30A579 #3F30A5
square
#A5305C #97A530 #30A579 #3F30A5
split-complementary
#A5305C #30A53F #3097A5
monochromatic
#461427 #762242 #A5305C #CA4879 #D8789C

Accessibility & contrast

On white

6.61
#A5305C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5305C
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5305C#FFFFFF#000000##FFFFFF
##A5305C1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5D
Deuteranopia (green-blind)
#686559
Tritanopia (blue-blind)
#B31F42
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5305c;
/* rgb */ color: rgb(165, 48, 92);
/* oklch */ color: oklch(49.8% 0.156 1.8);
Tailwind
colors: {
  custom: {
    50: '#c5718a',
    500: '#a5305c',
    950: '#000000',
  },
}
SCSS
$custom: #a5305c;
$custom-light: #c5718a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5305c",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 337.436,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.1564,
    "h": 1.8
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#A5305C
secondary
#71C0A2
accent
#DEA64A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5305C

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

Preview Lab → · Contrast checker → · Palette generator →

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