#A4338B#A4338B

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

Color values

HEX#A4338B
RGBrgb(164, 51, 139)
HSLhsl(313, 53%, 42%)
HSVhsv(313, 69%, 64%)
CMYKcmyk(0%, 68.9%, 15.2%, 35.7%)
CIE-LABlab(41.42, 55.53, -24.52)
CIE-LCHlch(41.42, 60.70, 336.17°)
OKLaboklab(51.82% 0.1639 -0.0665)
OKLCHoklch(51.82% 0.177 337.9)
XYZxyz(21.1543, 12.1261, 25.6476)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4338B #33A44C
analogous
#8433A4 #A4338B #A43353
triadic
#A4338B #8BA433 #338BA4
tetradic
#A4338B #A48433 #33A44C #3353A4
square
#A4338B #A48433 #33A44C #3353A4
split-complementary
#A4338B #53A433 #33A484
monochromatic
#47163C #752463 #A4338B #C84DAC #D67BC2

Accessibility & contrast

On white

6.13
#A4338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4338B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4338B#FFFFFF#000000##FFFFFF
##A4338B1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568E
Deuteranopia (green-blind)
#5C6888
Tritanopia (blue-blind)
#AD385A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a4338b;
/* rgb */ color: rgb(164, 51, 139);
/* oklch */ color: oklch(51.8% 0.177 337.9);
Tailwind
colors: {
  custom: {
    50: '#c274ad',
    500: '#a4338b',
    950: '#000000',
  },
}
SCSS
$custom: #a4338b;
$custom-light: #c274ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a4338b",
  "rgb": {
    "r": 164,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 313.274,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.17683,
    "h": 337.9
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4338B

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

Preview Lab → · Contrast checker → · Palette generator →

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