#A0227A#A0227A

#A0227A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.183 H 343.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A0227A
RGBrgb(160, 34, 122)
HSLhsl(318, 65%, 38%)
HSVhsv(318, 79%, 63%)
CMYKcmyk(0%, 78.8%, 23.7%, 37.3%)
CIE-LABlab(37.89, 57.93, -19.56)
CIE-LCHlch(37.89, 61.14, 341.34°)
OKLaboklab(48.88% 0.1749 -0.0524)
OKLCHoklch(48.88% 0.183 343.3)
XYZxyz(18.5828, 10.0248, 19.3649)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0227A #22A048
analogous
#8722A0 #A0227A #A0223B
triadic
#A0227A #7AA022 #227AA0
tetradic
#A0227A #A08722 #22A048 #223BA0
square
#A0227A #A08722 #22A048 #223BA0
split-complementary
#A0227A #3BA022 #22A087
monochromatic
#3B0D2D #6E1754 #A0227A #D22DA0 #DD5FB7

Accessibility & contrast

On white

6.99
#A0227A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#A0227A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0227A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0227A#FFFFFF#000000##FFFFFF
##A0227A1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#586177
Tritanopia (blue-blind)
#AB224C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0227a;
/* rgb */ color: rgb(160, 34, 122);
/* oklch */ color: oklch(48.9% 0.183 343.3);
Tailwind
colors: {
  custom: {
    50: '#c06ca0',
    500: '#a0227a',
    950: '#000000',
  },
}
SCSS
$custom: #a0227a;
$custom-light: #c06ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0227a",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 318.095,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4888,
    "c": 0.18257,
    "h": 343.3
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#A0227A
secondary
#5CC27B
accent
#E87340
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A0227A

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

Preview Lab → · Contrast checker → · Palette generator →

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