#A4237E#A4237E

#A4237E is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.187 H 342.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A4237E
RGBrgb(164, 35, 126)
HSLhsl(318, 65%, 39%)
HSVhsv(318, 79%, 64%)
CMYKcmyk(0%, 78.7%, 23.2%, 35.7%)
CIE-LABlab(38.90, 59.13, -20.42)
CIE-LCHlch(38.90, 62.56, 340.95°)
OKLaboklab(49.81% 0.1783 -0.0547)
OKLCHoklch(49.81% 0.187 342.9)
XYZxyz(19.6775, 10.6030, 20.7449)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4237E #23A449
analogous
#8A23A4 #A4237E #A4233E
triadic
#A4237E #7EA423 #237EA4
tetradic
#A4237E #A48A23 #23A449 #233EA4
square
#A4237E #A48A23 #23A449 #233EA4
split-complementary
#A4237E #3EA423 #23A48A
monochromatic
#3F0D31 #721857 #A4237E #D331A3 #DE64BA

Accessibility & contrast

On white

6.73
#A4237E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A4237E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4237E
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4237E#FFFFFF#000000##FFFFFF
##A4237E1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AF244E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a4237e;
/* rgb */ color: rgb(164, 35, 126);
/* oklch */ color: oklch(49.8% 0.187 342.9);
Tailwind
colors: {
  custom: {
    50: '#c36da3',
    500: '#a4237e',
    950: '#000000',
  },
}
SCSS
$custom: #a4237e;
$custom-light: #c36da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a4237e",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 317.674,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.18655,
    "h": 342.9
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#A4237E
secondary
#60C37D
accent
#E87140
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A4237E

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

Preview Lab → · Contrast checker → · Palette generator →

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