#A02297#A02297

#A02297 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.202 H 331.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A02297
RGBrgb(160, 34, 151)
HSLhsl(304, 65%, 38%)
HSVhsv(304, 79%, 63%)
CMYKcmyk(0%, 78.8%, 5.6%, 37.3%)
CIE-LABlab(39.33, 62.10, -35.14)
CIE-LCHlch(39.33, 71.36, 330.50°)
OKLaboklab(50.39% 0.1775 -0.0969)
OKLCHoklch(50.39% 0.202 331.4)
XYZxyz(20.6552, 10.8537, 30.2793)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02297 #22A02B
analogous
#6A22A0 #A02297 #A02258
triadic
#A02297 #97A022 #2297A0
tetradic
#A02297 #A06A22 #22A02B #2258A0
square
#A02297 #A06A22 #22A02B #2258A0
split-complementary
#A02297 #58A022 #22A06A
monochromatic
#3B0D38 #6E1767 #A02297 #D22DC7 #DD5FD4

Accessibility & contrast

On white

6.62
#A02297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A02297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02297
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02297#FFFFFF#000000##FFFFFF
##A022971.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529A
Deuteranopia (green-blind)
#4C6394
Tritanopia (blue-blind)
#A7335C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02297;
/* rgb */ color: rgb(160, 34, 151);
/* oklch */ color: oklch(50.4% 0.202 331.4);
Tailwind
colors: {
  custom: {
    50: '#c06db6',
    500: '#a02297',
    950: '#000000',
  },
}
SCSS
$custom: #a02297;
$custom-light: #c06db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02297",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 304.286,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.20221,
    "h": 331.4
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#A02297
secondary
#5CC263
accent
#E84C40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02297

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

Preview Lab → · Contrast checker → · Palette generator →

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