#A6226D#A6226D

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

Color values

HEX#A6226D
RGBrgb(166, 34, 109)
HSLhsl(326, 66%, 39%)
HSVhsv(326, 80%, 65%)
CMYKcmyk(0%, 79.5%, 34.3%, 34.9%)
CIE-LABlab(38.48, 57.85, -10.41)
CIE-LCHlch(38.48, 58.78, 349.79°)
OKLaboklab(49.34% 0.1774 -0.027)
OKLCHoklch(49.34% 0.179 351.4)
XYZxyz(19.0594, 10.3575, 15.4605)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6226D #22A65B
analogous
#9D22A6 #A6226D #A6222B
triadic
#A6226D #6DA622 #226DA6
tetradic
#A6226D #A69D22 #22A65B #222BA6
square
#A6226D #A69D22 #22A65B #222BA6
split-complementary
#A6226D #2BA622 #22A69D
monochromatic
#400D2A #73184C #A6226D #D5308E #DF63AA

Accessibility & contrast

On white

6.84
#A6226D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6226D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6226D#FFFFFF#000000##FFFFFF
##A6226D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4C6F
Deuteranopia (green-blind)
#61636A
Tritanopia (blue-blind)
#B31545
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a6226d;
/* rgb */ color: rgb(166, 34, 109);
/* oklch */ color: oklch(49.3% 0.179 351.4);
Tailwind
colors: {
  custom: {
    50: '#c56c96',
    500: '#a6226d',
    950: '#000000',
  },
}
SCSS
$custom: #a6226d;
$custom-light: #c56c96;
$custom-dark: #000000;
JSON
{
  "hex": "#a6226d",
  "rgb": {
    "r": 166,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 325.909,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4934,
    "c": 0.17946,
    "h": 351.4
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#A6226D
secondary
#5FC48B
accent
#E9883F
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A6226D

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

Preview Lab → · Contrast checker → · Palette generator →

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