#A5305A#A5305A

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

Color values

HEX#A5305A
RGBrgb(165, 48, 90)
HSLhsl(338, 55%, 42%)
HSVhsv(338, 71%, 65%)
CMYKcmyk(0%, 70.9%, 45.5%, 35.3%)
CIE-LABlab(39.33, 50.85, 2.83)
CIE-LCHlch(39.33, 50.93, 3.19°)
OKLaboklab(49.73% 0.1556 0.0079)
OKLCHoklch(49.73% 0.156 2.9)
XYZxyz(18.4209, 10.8538, 10.7958)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5305A #30A57B
analogous
#A53095 #A5305A #A54130
triadic
#A5305A #5AA530 #305AA5
tetradic
#A5305A #95A530 #30A57B #4130A5
square
#A5305A #95A530 #30A57B #4130A5
split-complementary
#A5305A #30A541 #3095A5
monochromatic
#461426 #762240 #A5305A #CA4877 #D8789A

Accessibility & contrast

On white

6.62
#A5305A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A5305A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5305A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5305A#FFFFFF#000000##FFFFFF
##A5305A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5B
Deuteranopia (green-blind)
#696557
Tritanopia (blue-blind)
#B31E41
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5305a;
/* rgb */ color: rgb(165, 48, 90);
/* oklch */ color: oklch(49.7% 0.156 2.9);
Tailwind
colors: {
  custom: {
    50: '#c57188',
    500: '#a5305a',
    950: '#000000',
  },
}
SCSS
$custom: #a5305a;
$custom-light: #c57188;
$custom-dark: #000000;
JSON
{
  "hex": "#a5305a",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 90
  },
  "hsl": {
    "h": 338.462,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49727,
    "c": 0.1558,
    "h": 2.9
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#A5305A
secondary
#71C0A4
accent
#DEA94A
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5305A

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

Preview Lab → · Contrast checker → · Palette generator →

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