#A4238A#A4238A

#A4238A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.4% C 0.194 H 337.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A4238A
RGBrgb(164, 35, 138)
HSLhsl(312, 65%, 39%)
HSVhsv(312, 79%, 64%)
CMYKcmyk(0%, 78.7%, 15.9%, 35.7%)
CIE-LABlab(39.46, 60.77, -26.95)
CIE-LCHlch(39.46, 66.48, 336.08°)
OKLaboklab(50.4% 0.1799 -0.0733)
OKLCHoklch(50.4% 0.194 337.8)
XYZxyz(20.4988, 10.9315, 25.0703)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4238A #23A43D
analogous
#7E23A4 #A4238A #A4234A
triadic
#A4238A #8AA423 #238AA4
tetradic
#A4238A #A47E23 #23A43D #234AA4
square
#A4238A #A47E23 #23A43D #234AA4
split-complementary
#A4238A #4AA423 #23A47E
monochromatic
#3F0D35 #721860 #A4238A #D331B2 #DE64C5

Accessibility & contrast

On white

6.59
#A4238A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A4238A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4238A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4238A#FFFFFF#000000##FFFFFF
##A4238A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#AD2B55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4238a;
/* rgb */ color: rgb(164, 35, 138);
/* oklch */ color: oklch(50.4% 0.194 337.8);
Tailwind
colors: {
  custom: {
    50: '#c36dac',
    500: '#a4238a',
    950: '#000000',
  },
}
SCSS
$custom: #a4238a;
$custom-light: #c36dac;
$custom-dark: #000000;
JSON
{
  "hex": "#a4238a",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 312.093,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50397,
    "c": 0.19426,
    "h": 337.8
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#A4238A
secondary
#60C374
accent
#E86240
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4238A

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

Preview Lab → · Contrast checker → · Palette generator →

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