#A4308C#A4308C

#A4308C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.181 H 337.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A4308C
RGBrgb(164, 48, 140)
HSLhsl(312, 55%, 42%)
HSVhsv(312, 71%, 64%)
CMYKcmyk(0%, 70.7%, 14.6%, 35.7%)
CIE-LABlab(41.06, 56.81, -25.69)
CIE-LCHlch(41.06, 62.35, 335.67°)
OKLaboklab(51.58% 0.1674 -0.0697)
OKLCHoklch(51.58% 0.181 337.4)
XYZxyz(21.1008, 11.9018, 25.9918)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4308C #30A448
analogous
#8230A4 #A4308C #A43052
triadic
#A4308C #8CA430 #308CA4
tetradic
#A4308C #A48230 #30A448 #3052A4
square
#A4308C #A48230 #30A448 #3052A4
split-complementary
#A4308C #52A430 #30A482
monochromatic
#45143B #752264 #A4308C #C948AF #D777C3

Accessibility & contrast

On white

6.21
#A4308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A4308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4308C
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4308C#FFFFFF#000000##FFFFFF
##A4308C1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558F
Deuteranopia (green-blind)
#5A6789
Tritanopia (blue-blind)
#AD365A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a4308c;
/* rgb */ color: rgb(164, 48, 140);
/* oklch */ color: oklch(51.6% 0.181 337.4);
Tailwind
colors: {
  custom: {
    50: '#c273ae',
    500: '#a4308c',
    950: '#000000',
  },
}
SCSS
$custom: #a4308c;
$custom-light: #c273ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4308c",
  "rgb": {
    "r": 164,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 312.414,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.18134,
    "h": 337.4
  },
  "luminance": 0.119
}

Semantic roles & 50–950 ramp

primary
#A4308C
secondary
#70BF81
accent
#DE684A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A4308C

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

Preview Lab → · Contrast checker → · Palette generator →

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