#A0228A#A0228A

#A0228A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.193 H 336.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A0228A
RGBrgb(160, 34, 138)
HSLhsl(310, 65%, 38%)
HSVhsv(310, 79%, 63%)
CMYKcmyk(0%, 78.8%, 13.8%, 37.3%)
CIE-LABlab(38.65, 60.14, -28.29)
CIE-LCHlch(38.65, 66.46, 334.81°)
OKLaboklab(49.67% 0.1769 -0.0771)
OKLCHoklch(49.67% 0.193 336.4)
XYZxyz(19.6570, 10.4545, 25.0225)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0228A #22A038
analogous
#7722A0 #A0228A #A0224B
triadic
#A0228A #8AA022 #228AA0
tetradic
#A0228A #A07722 #22A038 #224BA0
square
#A0228A #A07722 #22A038 #224BA0
split-complementary
#A0228A #4BA022 #22A077
monochromatic
#3B0D33 #6E175E #A0228A #D22DB5 #DD5FC7

Accessibility & contrast

On white

6.79
#A0228A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A0228A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0228A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0228A#FFFFFF#000000##FFFFFF
##A0228A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#526287
Tritanopia (blue-blind)
#A92C55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0228a;
/* rgb */ color: rgb(160, 34, 138);
/* oklch */ color: oklch(49.7% 0.193 336.4);
Tailwind
colors: {
  custom: {
    50: '#c06cac',
    500: '#a0228a',
    950: '#000000',
  },
}
SCSS
$custom: #a0228a;
$custom-light: #c06cac;
$custom-dark: #000000;
JSON
{
  "hex": "#a0228a",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 310.476,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.19299,
    "h": 336.4
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#A0228A
secondary
#5CC26E
accent
#E85D40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A0228A

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

Preview Lab → · Contrast checker → · Palette generator →

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