#A0226E#A0226E

#A0226E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.176 H 349.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A0226E
RGBrgb(160, 34, 110)
HSLhsl(324, 65%, 38%)
HSVhsv(324, 79%, 63%)
CMYKcmyk(0%, 78.8%, 31.2%, 37.3%)
CIE-LABlab(37.38, 56.42, -12.81)
CIE-LCHlch(37.38, 57.86, 347.21°)
OKLaboklab(48.35% 0.1725 -0.0336)
OKLCHoklch(48.35% 0.176 349)
XYZxyz(17.8847, 9.7455, 15.6881)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0226E #22A054
analogous
#9322A0 #A0226E #A0222F
triadic
#A0226E #6EA022 #226EA0
tetradic
#A0226E #A09322 #22A054 #222FA0
square
#A0226E #A09322 #22A054 #222FA0
split-complementary
#A0226E #2FA022 #22A093
monochromatic
#3B0D29 #6E174B #A0226E #D22D91 #DD5FAB

Accessibility & contrast

On white

7.12
#A0226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A0226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0226E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0226E#FFFFFF#000000##FFFFFF
##A0226E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A70
Deuteranopia (green-blind)
#5C606B
Tritanopia (blue-blind)
#AC1A45
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a0226e;
/* rgb */ color: rgb(160, 34, 110);
/* oklch */ color: oklch(48.3% 0.176 349.0);
Tailwind
colors: {
  custom: {
    50: '#c16b97',
    500: '#a0226e',
    950: '#000000',
  },
}
SCSS
$custom: #a0226e;
$custom-light: #c16b97;
$custom-dark: #000000;
JSON
{
  "hex": "#a0226e",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 323.81,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48348,
    "c": 0.1757,
    "h": 349
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#A0226E
secondary
#5CC284
accent
#E88340
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #A0226E

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

Preview Lab → · Contrast checker → · Palette generator →

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