#A4238C#A4238C

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

Color values

HEX#A4238C
RGBrgb(164, 35, 140)
HSLhsl(311, 65%, 39%)
HSVhsv(311, 79%, 64%)
CMYKcmyk(0%, 78.7%, 14.6%, 35.7%)
CIE-LABlab(39.56, 61.06, -28.03)
CIE-LCHlch(39.56, 67.18, 335.35°)
OKLaboklab(50.5% 0.1801 -0.0763)
OKLCHoklch(50.5% 0.196 337)
XYZxyz(20.6449, 10.9900, 25.8399)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4238C #23A43B
analogous
#7C23A4 #A4238C #A4234C
triadic
#A4238C #8CA423 #238CA4
tetradic
#A4238C #A47C23 #23A43B #234CA4
square
#A4238C #A47C23 #23A43B #234CA4
split-complementary
#A4238C #4CA423 #23A47C
monochromatic
#3F0D36 #721861 #A4238C #D331B5 #DE64C7

Accessibility & contrast

On white

6.57
#A4238C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4238C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4238C#FFFFFF#000000##FFFFFF
##A4238C1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27518F
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#AD2C56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4238c;
/* rgb */ color: rgb(164, 35, 140);
/* oklch */ color: oklch(50.5% 0.196 337.0);
Tailwind
colors: {
  custom: {
    50: '#c36dae',
    500: '#a4238c',
    950: '#000000',
  },
}
SCSS
$custom: #a4238c;
$custom-light: #c36dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4238c",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 311.163,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.505,
    "c": 0.19561,
    "h": 337
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#A4238C
secondary
#60C372
accent
#E85F40
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4238C

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

Preview Lab → · Contrast checker → · Palette generator →

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