#A02296#A02296

#A02296 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.201 H 331.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A02296
RGBrgb(160, 34, 150)
HSLhsl(305, 65%, 38%)
HSVhsv(305, 79%, 63%)
CMYKcmyk(0%, 78.8%, 6.2%, 37.3%)
CIE-LABlab(39.28, 61.95, -34.62)
CIE-LCHlch(39.28, 70.97, 330.80°)
OKLaboklab(50.33% 0.1775 -0.0954)
OKLCHoklch(50.33% 0.201 331.7)
XYZxyz(20.5743, 10.8214, 29.8534)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02296 #22A02C
analogous
#6B22A0 #A02296 #A02257
triadic
#A02296 #96A022 #2296A0
tetradic
#A02296 #A06B22 #22A02C #2257A0
square
#A02296 #A06B22 #22A02C #2257A0
split-complementary
#A02296 #57A022 #22A06B
monochromatic
#3B0D37 #6E1767 #A02296 #D22DC5 #DD5FD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A02296#FFFFFF#000000##FFFFFF
##A022961.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)
#165199
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#A7325B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02296;
/* rgb */ color: rgb(160, 34, 150);
/* oklch */ color: oklch(50.3% 0.201 331.7);
Tailwind
colors: {
  custom: {
    50: '#c06db5',
    500: '#a02296',
    950: '#000000',
  },
}
SCSS
$custom: #a02296;
$custom-light: #c06db5;
$custom-dark: #000000;
JSON
{
  "hex": "#a02296",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 304.762,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50332,
    "c": 0.20149,
    "h": 331.7
  },
  "luminance": 0.1082
}

Semantic roles & 50–950 ramp

primary
#A02296
secondary
#5CC264
accent
#E84D40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02296

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

Preview Lab → · Contrast checker → · Palette generator →

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