#A3238A#A3238A

#A3238A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.194 H 337.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A3238A
RGBrgb(163, 35, 138)
HSLhsl(312, 65%, 39%)
HSVhsv(312, 79%, 64%)
CMYKcmyk(0%, 78.5%, 15.3%, 36.1%)
CIE-LABlab(39.28, 60.54, -27.25)
CIE-LCHlch(39.28, 66.39, 335.77°)
OKLaboklab(50.23% 0.179 -0.0741)
OKLCHoklch(50.23% 0.194 337.5)
XYZxyz(20.2932, 10.8255, 25.0606)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3238A #23A33C
analogous
#7C23A3 #A3238A #A3234A
triadic
#A3238A #8AA323 #238AA3
tetradic
#A3238A #A37C23 #23A33C #234AA3
square
#A3238A #A37C23 #23A33C #234AA3
split-complementary
#A3238A #4AA323 #23A37C
monochromatic
#3E0D35 #71185F #A3238A #D331B3 #DD63C6

Accessibility & contrast

On white

6.64
#A3238A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A3238A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3238A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3238A#FFFFFF#000000##FFFFFF
##A3238A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#556387
Tritanopia (blue-blind)
#AC2B55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a3238a;
/* rgb */ color: rgb(163, 35, 138);
/* oklch */ color: oklch(50.2% 0.194 337.5);
Tailwind
colors: {
  custom: {
    50: '#c26dac',
    500: '#a3238a',
    950: '#000000',
  },
}
SCSS
$custom: #a3238a;
$custom-light: #c26dac;
$custom-dark: #000000;
JSON
{
  "hex": "#a3238a",
  "rgb": {
    "r": 163,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 311.719,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50234,
    "c": 0.1937,
    "h": 337.5
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#A3238A
secondary
#5FC373
accent
#E86140
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3238A

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

Preview Lab → · Contrast checker → · Palette generator →

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