#A6328C#A6328C

#A6328C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.180 H 338.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A6328C
RGBrgb(166, 50, 140)
HSLhsl(313, 54%, 42%)
HSVhsv(313, 70%, 65%)
CMYKcmyk(0%, 69.9%, 15.7%, 34.9%)
CIE-LABlab(41.66, 56.58, -24.72)
CIE-LCHlch(41.66, 61.74, 336.40°)
OKLaboklab(52.08% 0.1672 -0.067)
OKLCHoklch(52.08% 0.18 338.2)
XYZxyz(21.6005, 12.2836, 26.0392)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6328C #32A64C
analogous
#8632A6 #A6328C #A63252
triadic
#A6328C #8CA632 #328CA6
tetradic
#A6328C #A68632 #32A64C #3252A6
square
#A6328C #A68632 #32A64C #3252A6
split-complementary
#A6328C #52A632 #32A686
monochromatic
#48163D #772464 #A6328C #C94CAD #D77BC3

Accessibility & contrast

On white

6.08
#A6328C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A6328C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6328C
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6328C#FFFFFF#000000##FFFFFF
##A6328C1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#5C6989
Tritanopia (blue-blind)
#AF375B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a6328c;
/* rgb */ color: rgb(166, 50, 140);
/* oklch */ color: oklch(52.1% 0.180 338.2);
Tailwind
colors: {
  custom: {
    50: '#c474ae',
    500: '#a6328c',
    950: '#000000',
  },
}
SCSS
$custom: #a6328c;
$custom-light: #c474ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6328c",
  "rgb": {
    "r": 166,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 313.448,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52084,
    "c": 0.18012,
    "h": 338.2
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#A6328C
secondary
#74C085
accent
#DD6C4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A6328C

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

Preview Lab → · Contrast checker → · Palette generator →

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