#A42296#A42296

#A42296 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.203 H 333.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A42296
RGBrgb(164, 34, 150)
HSLhsl(306, 66%, 39%)
HSVhsv(306, 79%, 64%)
CMYKcmyk(0%, 79.3%, 8.5%, 35.7%)
CIE-LABlab(39.98, 62.81, -33.46)
CIE-LCHlch(39.98, 71.17, 331.95°)
OKLaboklab(50.97% 0.1815 -0.0919)
OKLCHoklch(50.97% 0.203 333.1)
XYZxyz(21.3870, 11.2404, 29.8915)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42296 #22A430
analogous
#7122A4 #A42296 #A42255
triadic
#A42296 #96A422 #2296A4
tetradic
#A42296 #A47122 #22A430 #2255A4
square
#A42296 #A47122 #22A430 #2255A4
split-complementary
#A42296 #55A422 #22A471
monochromatic
#3F0D39 #711768 #A42296 #D42FC2 #DE62D1

Accessibility & contrast

On white

6.47
#A42296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A42296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42296
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42296#FFFFFF#000000##FFFFFF
##A422961.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5299
Deuteranopia (green-blind)
#506593
Tritanopia (blue-blind)
#AC315B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42296;
/* rgb */ color: rgb(164, 34, 150);
/* oklch */ color: oklch(51.0% 0.203 333.1);
Tailwind
colors: {
  custom: {
    50: '#c36db5',
    500: '#a42296',
    950: '#000000',
  },
}
SCSS
$custom: #a42296;
$custom-light: #c36db5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42296",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 306.462,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.20348,
    "h": 333.1
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#A42296
secondary
#5EC469
accent
#E9513F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42296

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

Preview Lab → · Contrast checker → · Palette generator →

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