#A42295#A42295

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

Color values

HEX#A42295
RGBrgb(164, 34, 149)
HSLhsl(307, 66%, 39%)
HSVhsv(307, 79%, 64%)
CMYKcmyk(0%, 79.3%, 9.1%, 35.7%)
CIE-LABlab(39.93, 62.66, -32.94)
CIE-LCHlch(39.93, 70.79, 332.27°)
OKLaboklab(50.91% 0.1815 -0.0904)
OKLCHoklch(50.91% 0.203 333.5)
XYZxyz(21.3069, 11.2084, 29.4692)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42295 #22A431
analogous
#7222A4 #A42295 #A42254
triadic
#A42295 #95A422 #2295A4
tetradic
#A42295 #A47222 #22A431 #2254A4
square
#A42295 #A47222 #22A431 #2254A4
split-complementary
#A42295 #54A422 #22A472
monochromatic
#3F0D39 #711767 #A42295 #D42FC1 #DE62D0

Accessibility & contrast

On white

6.48
#A42295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A42295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42295
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42295#FFFFFF#000000##FFFFFF
##A422951.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42295;
/* rgb */ color: rgb(164, 34, 149);
/* oklch */ color: oklch(50.9% 0.203 333.5);
Tailwind
colors: {
  custom: {
    50: '#c36db4',
    500: '#a42295',
    950: '#000000',
  },
}
SCSS
$custom: #a42295;
$custom-light: #c36db4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42295",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 306.923,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50913,
    "c": 0.20278,
    "h": 333.5
  },
  "luminance": 0.11206
}

Semantic roles & 50–950 ramp

primary
#A42295
secondary
#5EC46A
accent
#E9533F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42295

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

Preview Lab → · Contrast checker → · Palette generator →

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