#A4308B#A4308B

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

Color values

HEX#A4308B
RGBrgb(164, 48, 139)
HSLhsl(313, 55%, 42%)
HSVhsv(313, 71%, 64%)
CMYKcmyk(0%, 70.7%, 15.2%, 35.7%)
CIE-LABlab(41.01, 56.66, -25.15)
CIE-LCHlch(41.01, 61.99, 336.06°)
OKLaboklab(51.53% 0.1673 -0.0682)
OKLCHoklch(51.53% 0.181 337.8)
XYZxyz(21.0274, 11.8724, 25.6053)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4308B #30A449
analogous
#8330A4 #A4308B #A43051
triadic
#A4308B #8BA430 #308BA4
tetradic
#A4308B #A48330 #30A449 #3051A4
square
#A4308B #A48330 #30A449 #3051A4
split-complementary
#A4308B #51A430 #30A483
monochromatic
#45143B #752263 #A4308B #C948AD #D777C3

Accessibility & contrast

On white

6.22
#A4308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4308B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4308B#FFFFFF#000000##FFFFFF
##A4308B1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#AD3659
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a4308b;
/* rgb */ color: rgb(164, 48, 139);
/* oklch */ color: oklch(51.5% 0.181 337.8);
Tailwind
colors: {
  custom: {
    50: '#c273ad',
    500: '#a4308b',
    950: '#000000',
  },
}
SCSS
$custom: #a4308b;
$custom-light: #c273ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a4308b",
  "rgb": {
    "r": 164,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 312.931,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.18063,
    "h": 337.8
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4308B

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

Preview Lab → · Contrast checker → · Palette generator →

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