#A4398E#A4398E

#A4398E is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.171 H 336.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A4398E
RGBrgb(164, 57, 142)
HSLhsl(312, 48%, 43%)
HSVhsv(312, 65%, 64%)
CMYKcmyk(0%, 65.2%, 13.4%, 35.7%)
CIE-LABlab(42.42, 53.57, -24.79)
CIE-LCHlch(42.42, 59.03, 335.17°)
OKLaboklab(52.6% 0.1571 -0.0673)
OKLCHoklch(52.6% 0.171 336.8)
XYZxyz(21.6558, 12.7736, 26.9109)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4398E #39A44F
analogous
#8439A4 #A4398E #A43959
triadic
#A4398E #8EA439 #398EA4
tetradic
#A4398E #A48439 #39A44F #3959A4
square
#A4398E #A48439 #39A44F #3959A4
split-complementary
#A4398E #59A439 #39A484
monochromatic
#49193F #772967 #A4398E #C456AE #D483C3

Accessibility & contrast

On white

5.91
#A4398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A4398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4398E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4398E#FFFFFF#000000##FFFFFF
##A4398E1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A91
Deuteranopia (green-blind)
#5D6A8B
Tritanopia (blue-blind)
#AC3E5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a4398e;
/* rgb */ color: rgb(164, 57, 142);
/* oklch */ color: oklch(52.6% 0.171 336.8);
Tailwind
colors: {
  custom: {
    50: '#c277af',
    500: '#a4398e',
    950: '#000000',
  },
}
SCSS
$custom: #a4398e;
$custom-light: #c277af;
$custom-dark: #000000;
JSON
{
  "hex": "#a4398e",
  "rgb": {
    "r": 164,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 312.336,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.526,
    "c": 0.17093,
    "h": 336.8
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#A4398E
secondary
#7BBE89
accent
#D86C50
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A4398E

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

Preview Lab → · Contrast checker → · Palette generator →

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