#A5305B#A5305B

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

Color values

HEX#A5305B
RGBrgb(165, 48, 91)
HSLhsl(338, 55%, 42%)
HSVhsv(338, 71%, 65%)
CMYKcmyk(0%, 70.9%, 44.8%, 35.3%)
CIE-LABlab(39.36, 50.95, 2.24)
CIE-LCHlch(39.36, 51.00, 2.52°)
OKLaboklab(49.76% 0.156 0.0064)
OKLCHoklch(49.76% 0.156 2.3)
XYZxyz(18.4637, 10.8709, 11.0215)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5305B #30A57A
analogous
#A53096 #A5305B #A54030
triadic
#A5305B #5BA530 #305BA5
tetradic
#A5305B #96A530 #30A57A #4030A5
square
#A5305B #96A530 #30A57A #4030A5
split-complementary
#A5305B #30A540 #3096A5
monochromatic
#461427 #762241 #A5305B #CA4878 #D8789B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5305B#FFFFFF#000000##FFFFFF
##A5305B1.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)
#494E5C
Deuteranopia (green-blind)
#686558
Tritanopia (blue-blind)
#B31F42
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5305b;
/* rgb */ color: rgb(165, 48, 91);
/* oklch */ color: oklch(49.8% 0.156 2.3);
Tailwind
colors: {
  custom: {
    50: '#c57189',
    500: '#a5305b',
    950: '#000000',
  },
}
SCSS
$custom: #a5305b;
$custom-light: #c57189;
$custom-dark: #000000;
JSON
{
  "hex": "#a5305b",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 337.949,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49758,
    "c": 0.15609,
    "h": 2.3
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#A5305B
secondary
#71C0A3
accent
#DEA84A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5305B

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

Preview Lab → · Contrast checker → · Palette generator →

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