#A5305F#A5305F

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

Color values

HEX#A5305F
RGBrgb(165, 48, 95)
HSLhsl(336, 55%, 42%)
HSVhsv(336, 71%, 65%)
CMYKcmyk(0%, 70.9%, 42.4%, 35.3%)
CIE-LABlab(39.48, 51.35, -0.11)
CIE-LCHlch(39.48, 51.35, 359.88°)
OKLaboklab(49.89% 0.1574 0.0003)
OKLCHoklch(49.89% 0.157 0.1)
XYZxyz(18.6409, 10.9418, 11.9546)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5305F #30A576
analogous
#A5309A #A5305F #A53B30
triadic
#A5305F #5FA530 #305FA5
tetradic
#A5305F #9AA530 #30A576 #3B30A5
square
#A5305F #9AA530 #30A576 #3B30A5
split-complementary
#A5305F #30A53B #309AA5
monochromatic
#461428 #762244 #A5305F #CA487C #D8789E

Accessibility & contrast

On white

6.59
#A5305F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A5305F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5305F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5305F#FFFFFF#000000##FFFFFF
##A5305F1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#68655C
Tritanopia (blue-blind)
#B32144
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5305f;
/* rgb */ color: rgb(165, 48, 95);
/* oklch */ color: oklch(49.9% 0.157 0.1);
Tailwind
colors: {
  custom: {
    50: '#c4718c',
    500: '#a5305f',
    950: '#000000',
  },
}
SCSS
$custom: #a5305f;
$custom-light: #c4718c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5305f",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 335.897,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.15737,
    "h": 0.1
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#A5305F
secondary
#71C0A0
accent
#DEA34A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A5305F

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

Preview Lab → · Contrast checker → · Palette generator →

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