#A4338A#A4338A

#A4338A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.176 H 338.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A4338A
RGBrgb(164, 51, 138)
HSLhsl(314, 53%, 42%)
HSVhsv(314, 69%, 64%)
CMYKcmyk(0%, 68.9%, 15.9%, 35.7%)
CIE-LABlab(41.37, 55.38, -23.98)
CIE-LCHlch(41.37, 60.35, 336.58°)
OKLaboklab(51.78% 0.1637 -0.0649)
OKLCHoklch(51.78% 0.176 338.4)
XYZxyz(21.0815, 12.0971, 25.2645)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4338A #33A44D
analogous
#8533A4 #A4338A #A43352
triadic
#A4338A #8AA433 #338AA4
tetradic
#A4338A #A48533 #33A44D #3352A4
square
#A4338A #A48533 #33A44D #3352A4
split-complementary
#A4338A #52A433 #33A485
monochromatic
#47163B #752463 #A4338A #C84DAB #D67BC1

Accessibility & contrast

On white

6.14
#A4338A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A4338A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4338A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4338A#FFFFFF#000000##FFFFFF
##A4338A1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568D
Deuteranopia (green-blind)
#5C6887
Tritanopia (blue-blind)
#AD385A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a4338a;
/* rgb */ color: rgb(164, 51, 138);
/* oklch */ color: oklch(51.8% 0.176 338.4);
Tailwind
colors: {
  custom: {
    50: '#c274ac',
    500: '#a4338a',
    950: '#000000',
  },
}
SCSS
$custom: #a4338a;
$custom-light: #c274ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a4338a",
  "rgb": {
    "r": 164,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 313.805,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.17613,
    "h": 338.4
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#A4338A
secondary
#74BF85
accent
#DC6D4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A4338A

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

Preview Lab → · Contrast checker → · Palette generator →

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