#A4308F#A4308F

#A4308F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.183 H 336.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A4308F
RGBrgb(164, 48, 143)
HSLhsl(311, 55%, 42%)
HSVhsv(311, 71%, 64%)
CMYKcmyk(0%, 70.7%, 12.8%, 35.7%)
CIE-LABlab(41.20, 57.26, -27.29)
CIE-LCHlch(41.20, 63.43, 334.52°)
OKLaboklab(51.73% 0.1678 -0.0743)
OKLCHoklch(51.73% 0.183 336.1)
XYZxyz(21.3250, 11.9915, 27.1727)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4308F #30A445
analogous
#7F30A4 #A4308F #A43055
triadic
#A4308F #8FA430 #308FA4
tetradic
#A4308F #A47F30 #30A445 #3055A4
square
#A4308F #A47F30 #30A445 #3055A4
split-complementary
#A4308F #55A430 #30A47F
monochromatic
#45143C #752266 #A4308F #C948B2 #D777C6

Accessibility & contrast

On white

6.18
#A4308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A4308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4308F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4308F#FFFFFF#000000##FFFFFF
##A4308F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325692
Deuteranopia (green-blind)
#59678C
Tritanopia (blue-blind)
#AC385B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a4308f;
/* rgb */ color: rgb(164, 48, 143);
/* oklch */ color: oklch(51.7% 0.183 336.1);
Tailwind
colors: {
  custom: {
    50: '#c273b0',
    500: '#a4308f',
    950: '#000000',
  },
}
SCSS
$custom: #a4308f;
$custom-light: #c273b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a4308f",
  "rgb": {
    "r": 164,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 310.862,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51731,
    "c": 0.18349,
    "h": 336.1
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#A4308F
secondary
#70BF7F
accent
#DE654A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A4308F

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

Preview Lab → · Contrast checker → · Palette generator →

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