#A4238B#A4238B

#A4238B is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.195 H 337.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A4238B
RGBrgb(164, 35, 139)
HSLhsl(312, 65%, 39%)
HSVhsv(312, 79%, 64%)
CMYKcmyk(0%, 78.7%, 15.2%, 35.7%)
CIE-LABlab(39.51, 60.92, -27.49)
CIE-LCHlch(39.51, 66.83, 335.71°)
OKLaboklab(50.45% 0.18 -0.0748)
OKLCHoklch(50.45% 0.195 337.4)
XYZxyz(20.5715, 10.9606, 25.4533)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4238B #23A43C
analogous
#7D23A4 #A4238B #A4234B
triadic
#A4238B #8BA423 #238BA4
tetradic
#A4238B #A47D23 #23A43C #234BA4
square
#A4238B #A47D23 #23A43C #234BA4
split-complementary
#A4238B #4BA423 #23A47D
monochromatic
#3F0D36 #721860 #A4238B #D331B4 #DE64C6

Accessibility & contrast

On white

6.58
#A4238B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4238B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4238B#FFFFFF#000000##FFFFFF
##A4238B1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28518E
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#AD2B55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4238b;
/* rgb */ color: rgb(164, 35, 139);
/* oklch */ color: oklch(50.4% 0.195 337.4);
Tailwind
colors: {
  custom: {
    50: '#c36dad',
    500: '#a4238b',
    950: '#000000',
  },
}
SCSS
$custom: #a4238b;
$custom-light: #c36dad;
$custom-dark: #000000;
JSON
{
  "hex": "#a4238b",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 311.628,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50449,
    "c": 0.19494,
    "h": 337.4
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#A4238B
secondary
#60C373
accent
#E86140
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4238B

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

Preview Lab → · Contrast checker → · Palette generator →

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