#A4338D#A4338D

#A4338D is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.178 H 337.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A4338D
RGBrgb(164, 51, 141)
HSLhsl(312, 53%, 42%)
HSVhsv(312, 69%, 64%)
CMYKcmyk(0%, 68.9%, 14%, 35.7%)
CIE-LABlab(41.51, 55.83, -25.60)
CIE-LCHlch(41.51, 61.42, 335.37°)
OKLaboklab(51.92% 0.1642 -0.0695)
OKLCHoklch(51.92% 0.178 337)
XYZxyz(21.3017, 12.1851, 26.4242)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4338D #33A44A
analogous
#8233A4 #A4338D #A43355
triadic
#A4338D #8DA433 #338DA4
tetradic
#A4338D #A48233 #33A44A #3355A4
square
#A4338D #A48233 #33A44A #3355A4
split-complementary
#A4338D #55A433 #33A482
monochromatic
#47163D #752465 #A4338D #C84DAF #D67BC4

Accessibility & contrast

On white

6.11
#A4338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A4338D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4338D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4338D#FFFFFF#000000##FFFFFF
##A4338D1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#5B688A
Tritanopia (blue-blind)
#AD395B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a4338d;
/* rgb */ color: rgb(164, 51, 141);
/* oklch */ color: oklch(51.9% 0.178 337.0);
Tailwind
colors: {
  custom: {
    50: '#c274ae',
    500: '#a4338d',
    950: '#000000',
  },
}
SCSS
$custom: #a4338d;
$custom-light: #c274ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4338d",
  "rgb": {
    "r": 164,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 312.212,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.17826,
    "h": 337
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#A4338D
secondary
#74BF83
accent
#DC694C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A4338D

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

Preview Lab → · Contrast checker → · Palette generator →

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