#A6226B#A6226B

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

Color values

HEX#A6226B
RGBrgb(166, 34, 107)
HSLhsl(327, 66%, 39%)
HSVhsv(327, 80%, 65%)
CMYKcmyk(0%, 79.5%, 35.5%, 34.9%)
CIE-LABlab(38.40, 57.62, -9.27)
CIE-LCHlch(38.40, 58.36, 350.86°)
OKLaboklab(49.26% 0.1769 -0.0239)
OKLCHoklch(49.26% 0.178 352.3)
XYZxyz(18.9529, 10.3149, 14.9000)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6226B #22A65D
analogous
#9F22A6 #A6226B #A62229
triadic
#A6226B #6BA622 #226BA6
tetradic
#A6226B #A69F22 #22A65D #2229A6
square
#A6226B #A69F22 #22A65D #2229A6
split-complementary
#A6226B #29A622 #22A69F
monochromatic
#400D2A #73184A #A6226B #D5308B #DF63A8

Accessibility & contrast

On white

6.86
#A6226B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A6226B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6226B
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6226B#FFFFFF#000000##FFFFFF
##A6226B1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6D
Deuteranopia (green-blind)
#616368
Tritanopia (blue-blind)
#B31344
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6226b;
/* rgb */ color: rgb(166, 34, 107);
/* oklch */ color: oklch(49.3% 0.178 352.3);
Tailwind
colors: {
  custom: {
    50: '#c56c95',
    500: '#a6226b',
    950: '#000000',
  },
}
SCSS
$custom: #a6226b;
$custom-light: #c56c95;
$custom-dark: #000000;
JSON
{
  "hex": "#a6226b",
  "rgb": {
    "r": 166,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 326.818,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49261,
    "c": 0.17849,
    "h": 352.3
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#A6226B
secondary
#5FC48D
accent
#E98B3F
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A6226B

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

Preview Lab → · Contrast checker → · Palette generator →

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