#A5305D#A5305D

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

Color values

HEX#A5305D
RGBrgb(165, 48, 93)
HSLhsl(337, 55%, 42%)
HSVhsv(337, 71%, 65%)
CMYKcmyk(0%, 70.9%, 43.6%, 35.3%)
CIE-LABlab(39.42, 51.15, 1.07)
CIE-LCHlch(39.42, 51.16, 1.19°)
OKLaboklab(49.82% 0.1567 0.0033)
OKLCHoklch(49.82% 0.157 1.2)
XYZxyz(18.5512, 10.9059, 11.4819)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5305D #30A578
analogous
#A53098 #A5305D #A53D30
triadic
#A5305D #5DA530 #305DA5
tetradic
#A5305D #98A530 #30A578 #3D30A5
square
#A5305D #98A530 #30A578 #3D30A5
split-complementary
#A5305D #30A53D #3098A5
monochromatic
#461428 #762242 #A5305D #CA487A #D8789D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5305D#FFFFFF#000000##FFFFFF
##A5305D1.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)
#494F5E
Deuteranopia (green-blind)
#68655A
Tritanopia (blue-blind)
#B32043
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5305d;
/* rgb */ color: rgb(165, 48, 93);
/* oklch */ color: oklch(49.8% 0.157 1.2);
Tailwind
colors: {
  custom: {
    50: '#c5718a',
    500: '#a5305d',
    950: '#000000',
  },
}
SCSS
$custom: #a5305d;
$custom-light: #c5718a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5305d",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 336.923,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49821,
    "c": 0.15671,
    "h": 1.2
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5305D

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

Preview Lab → · Contrast checker → · Palette generator →

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