#A6228F#A6228F

#A6228F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.9% C 0.200 H 336.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A6228F
RGBrgb(166, 34, 143)
HSLhsl(310, 66%, 39%)
HSVhsv(310, 80%, 65%)
CMYKcmyk(0%, 79.5%, 13.9%, 34.9%)
CIE-LABlab(39.98, 62.22, -29.19)
CIE-LCHlch(39.98, 68.73, 334.87°)
OKLaboklab(50.91% 0.1831 -0.0796)
OKLCHoklch(50.91% 0.2 336.5)
XYZxyz(21.2562, 11.2362, 27.0306)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6228F #22A639
analogous
#7B22A6 #A6228F #A6224D
triadic
#A6228F #8FA622 #228FA6
tetradic
#A6228F #A67B22 #22A639 #224DA6
square
#A6228F #A67B22 #22A639 #224DA6
split-complementary
#A6228F #4DA622 #22A67B
monochromatic
#400D37 #731863 #A6228F #D530B8 #DF63CA

Accessibility & contrast

On white

6.47
#A6228F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A6228F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6228F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6228F#FFFFFF#000000##FFFFFF
##A6228F1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255292
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#AF2C57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6228f;
/* rgb */ color: rgb(166, 34, 143);
/* oklch */ color: oklch(50.9% 0.200 336.5);
Tailwind
colors: {
  custom: {
    50: '#c46db0',
    500: '#a6228f',
    950: '#000000',
  },
}
SCSS
$custom: #a6228f;
$custom-light: #c46db0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6228f",
  "rgb": {
    "r": 166,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 310.455,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50912,
    "c": 0.19967,
    "h": 336.5
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#A6228F
secondary
#5FC471
accent
#E95C3F
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6228F

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

Preview Lab → · Contrast checker → · Palette generator →

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