#A4238E#A4238E

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

Color values

HEX#A4238E
RGBrgb(164, 35, 142)
HSLhsl(310, 65%, 39%)
HSVhsv(310, 79%, 64%)
CMYKcmyk(0%, 78.7%, 13.4%, 35.7%)
CIE-LABlab(39.66, 61.35, -29.09)
CIE-LCHlch(39.66, 67.90, 334.63°)
OKLaboklab(50.61% 0.1803 -0.0794)
OKLCHoklch(50.61% 0.197 336.2)
XYZxyz(20.7937, 11.0495, 26.6236)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4238E #23A439
analogous
#7A23A4 #A4238E #A4234D
triadic
#A4238E #8EA423 #238EA4
tetradic
#A4238E #A47A23 #23A439 #234DA4
square
#A4238E #A47A23 #23A439 #234DA4
split-complementary
#A4238E #4DA423 #23A47A
monochromatic
#3F0D37 #721862 #A4238E #D331B7 #DE64C9

Accessibility & contrast

On white

6.54
#A4238E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A4238E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4238E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4238E#FFFFFF#000000##FFFFFF
##A4238E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#AD2D57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4238e;
/* rgb */ color: rgb(164, 35, 142);
/* oklch */ color: oklch(50.6% 0.197 336.2);
Tailwind
colors: {
  custom: {
    50: '#c36daf',
    500: '#a4238e',
    950: '#000000',
  },
}
SCSS
$custom: #a4238e;
$custom-light: #c36daf;
$custom-dark: #000000;
JSON
{
  "hex": "#a4238e",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 310.233,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50605,
    "c": 0.19697,
    "h": 336.2
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4238E

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

Preview Lab → · Contrast checker → · Palette generator →

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