#A5306F#A5306F

#A5306F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.164 H 351.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A5306F
RGBrgb(165, 48, 111)
HSLhsl(328, 55%, 42%)
HSVhsv(328, 71%, 65%)
CMYKcmyk(0%, 70.9%, 32.7%, 35.3%)
CIE-LABlab(40.02, 53.15, -9.36)
CIE-LCHlch(40.02, 53.97, 350.01°)
OKLaboklab(50.46% 0.1624 -0.0242)
OKLCHoklch(50.46% 0.164 351.5)
XYZxyz(19.4443, 11.2631, 16.1859)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5306F #30A566
analogous
#A130A5 #A5306F #A53035
triadic
#A5306F #6FA530 #306FA5
tetradic
#A5306F #A5A130 #30A566 #3035A5
square
#A5306F #A5A130 #30A566 #3035A5
split-complementary
#A5306F #35A530 #30A5A1
monochromatic
#46142F #76224F #A5306F #CA488E #D878AB

Accessibility & contrast

On white

6.46
#A5306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A5306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5306F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5306F#FFFFFF#000000##FFFFFF
##A5306F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435171
Deuteranopia (green-blind)
#64666C
Tritanopia (blue-blind)
#B1284B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5306f;
/* rgb */ color: rgb(165, 48, 111);
/* oklch */ color: oklch(50.5% 0.164 351.5);
Tailwind
colors: {
  custom: {
    50: '#c47298',
    500: '#a5306f',
    950: '#000000',
  },
}
SCSS
$custom: #a5306f;
$custom-light: #c47298;
$custom-dark: #000000;
JSON
{
  "hex": "#a5306f",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 327.692,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.16418,
    "h": 351.5
  },
  "luminance": 0.11261
}

Semantic roles & 50–950 ramp

primary
#A5306F
secondary
#71C095
accent
#DE8E4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5306F

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

Preview Lab → · Contrast checker → · Palette generator →

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