#A4338E#A4338E

#A4338E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.179 H 336.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A4338E
RGBrgb(164, 51, 142)
HSLhsl(312, 53%, 42%)
HSVhsv(312, 69%, 64%)
CMYKcmyk(0%, 68.9%, 13.4%, 35.7%)
CIE-LABlab(41.56, 55.98, -26.13)
CIE-LCHlch(41.56, 61.78, 334.98°)
OKLaboklab(51.97% 0.1643 -0.071)
OKLCHoklch(51.97% 0.179 336.6)
XYZxyz(21.3765, 12.2150, 26.8178)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4338E #33A449
analogous
#8133A4 #A4338E #A43356
triadic
#A4338E #8EA433 #338EA4
tetradic
#A4338E #A48133 #33A449 #3356A4
square
#A4338E #A48133 #33A449 #3356A4
split-complementary
#A4338E #56A433 #33A481
monochromatic
#47163D #752466 #A4338E #C84DB0 #D67BC4

Accessibility & contrast

On white

6.10
#A4338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4338E
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4338E#FFFFFF#000000##FFFFFF
##A4338E1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#5A688B
Tritanopia (blue-blind)
#AC3A5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a4338e;
/* rgb */ color: rgb(164, 51, 142);
/* oklch */ color: oklch(52.0% 0.179 336.6);
Tailwind
colors: {
  custom: {
    50: '#c274af',
    500: '#a4338e',
    950: '#000000',
  },
}
SCSS
$custom: #a4338e;
$custom-light: #c274af;
$custom-dark: #000000;
JSON
{
  "hex": "#a4338e",
  "rgb": {
    "r": 164,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 311.681,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.17899,
    "h": 336.6
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4338E

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

Preview Lab → · Contrast checker → · Palette generator →

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