#A4238D#A4238D

#A4238D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.6% C 0.196 H 336.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A4238D
RGBrgb(164, 35, 141)
HSLhsl(311, 65%, 39%)
HSVhsv(311, 79%, 64%)
CMYKcmyk(0%, 78.7%, 14%, 35.7%)
CIE-LABlab(39.61, 61.20, -28.56)
CIE-LCHlch(39.61, 67.54, 334.99°)
OKLaboklab(50.55% 0.1802 -0.0778)
OKLCHoklch(50.55% 0.196 336.6)
XYZxyz(20.7190, 11.0196, 26.2300)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4238D #23A43A
analogous
#7B23A4 #A4238D #A4234D
triadic
#A4238D #8DA423 #238DA4
tetradic
#A4238D #A47B23 #23A43A #234DA4
square
#A4238D #A47B23 #23A43A #234DA4
split-complementary
#A4238D #4DA423 #23A47B
monochromatic
#3F0D36 #721862 #A4238D #D331B6 #DE64C8

Accessibility & contrast

On white

6.56
#A4238D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A4238D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4238D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4238D#FFFFFF#000000##FFFFFF
##A4238D1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#AD2D57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4238d;
/* rgb */ color: rgb(164, 35, 141);
/* oklch */ color: oklch(50.6% 0.196 336.6);
Tailwind
colors: {
  custom: {
    50: '#c36dae',
    500: '#a4238d',
    950: '#000000',
  },
}
SCSS
$custom: #a4238d;
$custom-light: #c36dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4238d",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 310.698,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.19629,
    "h": 336.6
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#A4238D
secondary
#60C371
accent
#E85E40
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4238D

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

Preview Lab → · Contrast checker → · Palette generator →

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