#A6226F#A6226F

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

Color values

HEX#A6226F
RGBrgb(166, 34, 111)
HSLhsl(325, 66%, 39%)
HSVhsv(325, 80%, 65%)
CMYKcmyk(0%, 79.5%, 33.1%, 34.9%)
CIE-LABlab(38.55, 58.07, -11.56)
CIE-LCHlch(38.55, 59.21, 348.74°)
OKLaboklab(49.42% 0.1779 -0.0301)
OKLCHoklch(49.42% 0.18 350.4)
XYZxyz(19.1683, 10.4010, 16.0340)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6226F #22A659
analogous
#9B22A6 #A6226F #A6222D
triadic
#A6226F #6FA622 #226FA6
tetradic
#A6226F #A69B22 #22A659 #222DA6
square
#A6226F #A69B22 #22A659 #222DA6
split-complementary
#A6226F #2DA622 #22A69B
monochromatic
#400D2B #73184D #A6226F #D53090 #DF63AC

Accessibility & contrast

On white

6.82
#A6226F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6226F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6226F#FFFFFF#000000##FFFFFF
##A6226F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#B31746
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a6226f;
/* rgb */ color: rgb(166, 34, 111);
/* oklch */ color: oklch(49.4% 0.180 350.4);
Tailwind
colors: {
  custom: {
    50: '#c56c98',
    500: '#a6226f',
    950: '#000000',
  },
}
SCSS
$custom: #a6226f;
$custom-light: #c56c98;
$custom-dark: #000000;
JSON
{
  "hex": "#a6226f",
  "rgb": {
    "r": 166,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 325,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4942,
    "c": 0.18045,
    "h": 350.4
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6226F

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

Preview Lab → · Contrast checker → · Palette generator →

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