#A4308A#A4308A

#A4308A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.180 H 338.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A4308A
RGBrgb(164, 48, 138)
HSLhsl(313, 55%, 42%)
HSVhsv(313, 71%, 64%)
CMYKcmyk(0%, 70.7%, 15.9%, 35.7%)
CIE-LABlab(40.97, 56.51, -24.61)
CIE-LCHlch(40.97, 61.64, 336.46°)
OKLaboklab(51.48% 0.1671 -0.0667)
OKLCHoklch(51.48% 0.18 338.2)
XYZxyz(20.9547, 11.8433, 25.2222)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4308A #30A44A
analogous
#8430A4 #A4308A #A43050
triadic
#A4308A #8AA430 #308AA4
tetradic
#A4308A #A48430 #30A44A #3050A4
square
#A4308A #A48430 #30A44A #3050A4
split-complementary
#A4308A #50A430 #30A484
monochromatic
#45143A #752262 #A4308A #C948AC #D777C2

Accessibility & contrast

On white

6.23
#A4308A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A4308A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4308A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4308A#FFFFFF#000000##FFFFFF
##A4308A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558D
Deuteranopia (green-blind)
#5B6787
Tritanopia (blue-blind)
#AD3559
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a4308a;
/* rgb */ color: rgb(164, 48, 138);
/* oklch */ color: oklch(51.5% 0.180 338.2);
Tailwind
colors: {
  custom: {
    50: '#c273ac',
    500: '#a4308a',
    950: '#000000',
  },
}
SCSS
$custom: #a4308a;
$custom-light: #c273ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a4308a",
  "rgb": {
    "r": 164,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 313.448,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51482,
    "c": 0.17992,
    "h": 338.2
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#A4308A
secondary
#70BF82
accent
#DE6B4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A4308A

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

Preview Lab → · Contrast checker → · Palette generator →

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