#A6226C#A6226C

#A6226C is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.179 H 351.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A6226C
RGBrgb(166, 34, 108)
HSLhsl(326, 66%, 39%)
HSVhsv(326, 80%, 65%)
CMYKcmyk(0%, 79.5%, 34.9%, 34.9%)
CIE-LABlab(38.44, 57.73, -9.84)
CIE-LCHlch(38.44, 58.57, 350.33°)
OKLaboklab(49.3% 0.1772 -0.0254)
OKLCHoklch(49.3% 0.179 351.8)
XYZxyz(19.0059, 10.3361, 15.1787)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6226C #22A65C
analogous
#9E22A6 #A6226C #A6222A
triadic
#A6226C #6CA622 #226CA6
tetradic
#A6226C #A69E22 #22A65C #222AA6
square
#A6226C #A69E22 #22A65C #222AA6
split-complementary
#A6226C #2AA622 #22A69E
monochromatic
#400D2A #73184B #A6226C #D5308D #DF63A9

Accessibility & contrast

On white

6.85
#A6226C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A6226C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6226C
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6226C#FFFFFF#000000##FFFFFF
##A6226C1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6E
Deuteranopia (green-blind)
#616369
Tritanopia (blue-blind)
#B31444
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6226c;
/* rgb */ color: rgb(166, 34, 108);
/* oklch */ color: oklch(49.3% 0.179 351.8);
Tailwind
colors: {
  custom: {
    50: '#c56c96',
    500: '#a6226c',
    950: '#000000',
  },
}
SCSS
$custom: #a6226c;
$custom-light: #c56c96;
$custom-dark: #000000;
JSON
{
  "hex": "#a6226c",
  "rgb": {
    "r": 166,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 326.364,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.493,
    "c": 0.17898,
    "h": 351.8
  },
  "luminance": 0.10334
}

Semantic roles & 50–950 ramp

primary
#A6226C
secondary
#5FC48C
accent
#E98A3F
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A6226C

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

Preview Lab → · Contrast checker → · Palette generator →

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