#A3238C#A3238C

#A3238C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.195 H 336.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A3238C
RGBrgb(163, 35, 140)
HSLhsl(311, 65%, 39%)
HSVhsv(311, 79%, 64%)
CMYKcmyk(0%, 78.5%, 14.1%, 36.1%)
CIE-LABlab(39.38, 60.83, -28.32)
CIE-LCHlch(39.38, 67.10, 335.04°)
OKLaboklab(50.34% 0.1791 -0.0772)
OKLCHoklch(50.34% 0.195 336.7)
XYZxyz(20.4393, 10.8840, 25.8302)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3238C #23A33A
analogous
#7A23A3 #A3238C #A3234C
triadic
#A3238C #8CA323 #238CA3
tetradic
#A3238C #A37A23 #23A33A #234CA3
square
#A3238C #A37A23 #23A33A #234CA3
split-complementary
#A3238C #4CA323 #23A37A
monochromatic
#3E0D35 #711861 #A3238C #D331B6 #DD63C7

Accessibility & contrast

On white

6.61
#A3238C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A3238C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3238C
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3238C#FFFFFF#000000##FFFFFF
##A3238C1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#546489
Tritanopia (blue-blind)
#AC2C56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a3238c;
/* rgb */ color: rgb(163, 35, 140);
/* oklch */ color: oklch(50.3% 0.195 336.7);
Tailwind
colors: {
  custom: {
    50: '#c26dae',
    500: '#a3238c',
    950: '#000000',
  },
}
SCSS
$custom: #a3238c;
$custom-light: #c26dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a3238c",
  "rgb": {
    "r": 163,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 310.781,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50338,
    "c": 0.19506,
    "h": 336.7
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#A3238C
secondary
#5FC371
accent
#E85E40
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3238C

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

Preview Lab → · Contrast checker → · Palette generator →

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