#A02291#A02291

#A02291 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.198 H 333.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A02291
RGBrgb(160, 34, 145)
HSLhsl(307, 65%, 38%)
HSVhsv(307, 79%, 63%)
CMYKcmyk(0%, 78.8%, 9.4%, 37.3%)
CIE-LABlab(39.01, 61.18, -32.00)
CIE-LCHlch(39.01, 69.05, 332.39°)
OKLaboklab(50.05% 0.1773 -0.0878)
OKLCHoklch(50.05% 0.198 333.7)
XYZxyz(20.1802, 10.6638, 27.7781)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02291 #22A031
analogous
#7022A0 #A02291 #A02252
triadic
#A02291 #91A022 #2291A0
tetradic
#A02291 #A07022 #22A031 #2252A0
square
#A02291 #A07022 #22A031 #2252A0
split-complementary
#A02291 #52A022 #22A070
monochromatic
#3B0D36 #6E1763 #A02291 #D22DBF #DD5FCE

Accessibility & contrast

On white

6.70
#A02291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A02291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02291
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02291#FFFFFF#000000##FFFFFF
##A022911.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#4F628E
Tritanopia (blue-blind)
#A83059
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02291;
/* rgb */ color: rgb(160, 34, 145);
/* oklch */ color: oklch(50.1% 0.198 333.7);
Tailwind
colors: {
  custom: {
    50: '#c06db1',
    500: '#a02291',
    950: '#000000',
  },
}
SCSS
$custom: #a02291;
$custom-light: #c06db1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02291",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 307.143,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50052,
    "c": 0.19789,
    "h": 333.7
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#A02291
secondary
#5CC268
accent
#E85440
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A02291

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

Preview Lab → · Contrast checker → · Palette generator →

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