#A4338F#A4338F

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

Color values

HEX#A4338F
RGBrgb(164, 51, 143)
HSLhsl(311, 53%, 42%)
HSVhsv(311, 69%, 64%)
CMYKcmyk(0%, 68.9%, 12.8%, 35.7%)
CIE-LABlab(41.60, 56.13, -26.67)
CIE-LCHlch(41.60, 62.15, 334.59°)
OKLaboklab(52.02% 0.1644 -0.0726)
OKLCHoklch(52.02% 0.18 336.2)
XYZxyz(21.4519, 12.2452, 27.2150)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4338F #33A448
analogous
#8033A4 #A4338F #A43357
triadic
#A4338F #8FA433 #338FA4
tetradic
#A4338F #A48033 #33A448 #3357A4
square
#A4338F #A48033 #33A448 #3357A4
split-complementary
#A4338F #57A433 #33A480
monochromatic
#47163E #752466 #A4338F #C84DB1 #D67BC5

Accessibility & contrast

On white

6.09
#A4338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A4338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4338F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4338F#FFFFFF#000000##FFFFFF
##A4338F1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4338f;
/* rgb */ color: rgb(164, 51, 143);
/* oklch */ color: oklch(52.0% 0.180 336.2);
Tailwind
colors: {
  custom: {
    50: '#c274b0',
    500: '#a4338f',
    950: '#000000',
  },
}
SCSS
$custom: #a4338f;
$custom-light: #c274b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a4338f",
  "rgb": {
    "r": 164,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 311.15,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52021,
    "c": 0.17972,
    "h": 336.2
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#A4338F
secondary
#74BF82
accent
#DC674C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A4338F

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

Preview Lab → · Contrast checker → · Palette generator →

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