#A0227E#A0227E

#A0227E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.185 H 341.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A0227E
RGBrgb(160, 34, 126)
HSLhsl(316, 65%, 38%)
HSVhsv(316, 79%, 63%)
CMYKcmyk(0%, 78.8%, 21.2%, 37.3%)
CIE-LABlab(38.07, 58.46, -21.78)
CIE-LCHlch(38.07, 62.38, 339.57°)
OKLaboklab(49.07% 0.1755 -0.0586)
OKLCHoklch(49.07% 0.185 341.5)
XYZxyz(18.8358, 10.1260, 20.6972)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0227E #22A044
analogous
#8322A0 #A0227E #A0223F
triadic
#A0227E #7EA022 #227EA0
tetradic
#A0227E #A08322 #22A044 #223FA0
square
#A0227E #A08322 #22A044 #223FA0
split-complementary
#A0227E #3FA022 #22A083
monochromatic
#3B0D2F #6E1756 #A0227E #D22DA6 #DD5FBB

Accessibility & contrast

On white

6.94
#A0227E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A0227E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0227E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0227E#FFFFFF#000000##FFFFFF
##A0227E1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#AA254E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a0227e;
/* rgb */ color: rgb(160, 34, 126);
/* oklch */ color: oklch(49.1% 0.185 341.5);
Tailwind
colors: {
  custom: {
    50: '#c06ca3',
    500: '#a0227e',
    950: '#000000',
  },
}
SCSS
$custom: #a0227e;
$custom-light: #c06ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a0227e",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 316.19,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49069,
    "c": 0.18505,
    "h": 341.5
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#A0227E
secondary
#5CC277
accent
#E86D40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A0227E

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

Preview Lab → · Contrast checker → · Palette generator →

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