#A6226E#A6226E

#A6226E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.180 H 350.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A6226E
RGBrgb(166, 34, 110)
HSLhsl(325, 66%, 39%)
HSVhsv(325, 80%, 65%)
CMYKcmyk(0%, 79.5%, 33.7%, 34.9%)
CIE-LABlab(38.51, 57.96, -10.99)
CIE-LCHlch(38.51, 58.99, 349.27°)
OKLaboklab(49.38% 0.1777 -0.0285)
OKLCHoklch(49.38% 0.18 350.9)
XYZxyz(19.1135, 10.3791, 15.7457)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6226E #22A65A
analogous
#9C22A6 #A6226E #A6222C
triadic
#A6226E #6EA622 #226EA6
tetradic
#A6226E #A69C22 #22A65A #222CA6
square
#A6226E #A69C22 #22A65A #222CA6
split-complementary
#A6226E #2CA622 #22A69C
monochromatic
#400D2B #73184C #A6226E #D5308F #DF63AB

Accessibility & contrast

On white

6.83
#A6226E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A6226E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6226E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6226E#FFFFFF#000000##FFFFFF
##A6226E1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C70
Deuteranopia (green-blind)
#61636B
Tritanopia (blue-blind)
#B31645
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a6226e;
/* rgb */ color: rgb(166, 34, 110);
/* oklch */ color: oklch(49.4% 0.180 350.9);
Tailwind
colors: {
  custom: {
    50: '#c56c97',
    500: '#a6226e',
    950: '#000000',
  },
}
SCSS
$custom: #a6226e;
$custom-light: #c56c97;
$custom-dark: #000000;
JSON
{
  "hex": "#a6226e",
  "rgb": {
    "r": 166,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 325.455,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.17995,
    "h": 350.9
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#A6226E
secondary
#5FC48A
accent
#E9873F
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A6226E

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

Preview Lab → · Contrast checker → · Palette generator →

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