#A0228D#A0228D

#A0228D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.195 H 335.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A0228D
RGBrgb(160, 34, 141)
HSLhsl(309, 65%, 38%)
HSVhsv(309, 79%, 63%)
CMYKcmyk(0%, 78.8%, 11.9%, 37.3%)
CIE-LABlab(38.80, 60.58, -29.89)
CIE-LCHlch(38.80, 67.55, 333.74°)
OKLaboklab(49.83% 0.1771 -0.0817)
OKLCHoklch(49.83% 0.195 335.2)
XYZxyz(19.8772, 10.5425, 26.1822)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0228D #22A035
analogous
#7422A0 #A0228D #A0224E
triadic
#A0228D #8DA022 #228DA0
tetradic
#A0228D #A07422 #22A035 #224EA0
square
#A0228D #A07422 #22A035 #224EA0
split-complementary
#A0228D #4EA022 #22A074
monochromatic
#3B0D34 #6E1761 #A0228D #D22DB9 #DD5FCA

Accessibility & contrast

On white

6.76
#A0228D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A0228D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0228D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0228D#FFFFFF#000000##FFFFFF
##A0228D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A82D56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0228d;
/* rgb */ color: rgb(160, 34, 141);
/* oklch */ color: oklch(49.8% 0.195 335.2);
Tailwind
colors: {
  custom: {
    50: '#c06cae',
    500: '#a0228d',
    950: '#000000',
  },
}
SCSS
$custom: #a0228d;
$custom-light: #c06cae;
$custom-dark: #000000;
JSON
{
  "hex": "#a0228d",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 309.048,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.19507,
    "h": 335.2
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#A0228D
secondary
#5CC26B
accent
#E85940
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0228D

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

Preview Lab → · Contrast checker → · Palette generator →

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