#A1227E#A1227E

#A1227E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.186 H 341.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A1227E
RGBrgb(161, 34, 126)
HSLhsl(317, 65%, 38%)
HSVhsv(317, 79%, 63%)
CMYKcmyk(0%, 78.9%, 21.7%, 36.9%)
CIE-LABlab(38.25, 58.70, -21.48)
CIE-LCHlch(38.25, 62.50, 339.90°)
OKLaboklab(49.24% 0.1765 -0.0577)
OKLCHoklch(49.24% 0.186 341.9)
XYZxyz(19.0365, 10.2295, 20.7066)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1227E #22A145
analogous
#8422A1 #A1227E #A1223F
triadic
#A1227E #7EA122 #227EA1
tetradic
#A1227E #A18422 #22A145 #223FA1
square
#A1227E #A18422 #22A145 #223FA1
split-complementary
#A1227E #3FA122 #22A184
monochromatic
#3C0D2F #6E1756 #A1227E #D32DA5 #DD60BB

Accessibility & contrast

On white

6.90
#A1227E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A1227E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1227E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1227E#FFFFFF#000000##FFFFFF
##A1227E1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#58617B
Tritanopia (blue-blind)
#AB244E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1227e;
/* rgb */ color: rgb(161, 34, 126);
/* oklch */ color: oklch(49.2% 0.186 341.9);
Tailwind
colors: {
  custom: {
    50: '#c16ca3',
    500: '#a1227e',
    950: '#000000',
  },
}
SCSS
$custom: #a1227e;
$custom-light: #c16ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1227e",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 316.535,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.18567,
    "h": 341.9
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#A1227E
secondary
#5DC279
accent
#E86E40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A1227E

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

Preview Lab → · Contrast checker → · Palette generator →

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