#A6337A#A6337A

#A6337A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.167 H 346.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A6337A
RGBrgb(166, 51, 122)
HSLhsl(323, 53%, 43%)
HSVhsv(323, 69%, 65%)
CMYKcmyk(0%, 69.3%, 26.5%, 34.9%)
CIE-LABlab(41.03, 53.67, -14.65)
CIE-LCHlch(41.03, 55.63, 344.73°)
OKLaboklab(51.37% 0.1626 -0.0387)
OKLCHoklch(51.37% 0.167 346.6)
XYZxyz(20.4234, 11.8819, 19.6264)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6337A #33A65F
analogous
#9933A6 #A6337A #A63340
triadic
#A6337A #7AA633 #337AA6
tetradic
#A6337A #A69933 #33A65F #3340A6
square
#A6337A #A69933 #33A65F #3340A6
split-complementary
#A6337A #40A633 #33A699
monochromatic
#481635 #772558 #A6337A #C94E9A #D77CB4

Accessibility & contrast

On white

6.22
#A6337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A6337A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6337A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6337A#FFFFFF#000000##FFFFFF
##A6337A1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547C
Deuteranopia (green-blind)
#636877
Tritanopia (blue-blind)
#B13052
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6337a;
/* rgb */ color: rgb(166, 51, 122);
/* oklch */ color: oklch(51.4% 0.167 346.6);
Tailwind
colors: {
  custom: {
    50: '#c474a0',
    500: '#a6337a',
    950: '#000000',
  },
}
SCSS
$custom: #a6337a;
$custom-light: #c474a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6337a",
  "rgb": {
    "r": 166,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 322.957,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51368,
    "c": 0.16714,
    "h": 346.6
  },
  "luminance": 0.1188
}

Semantic roles & 50–950 ramp

primary
#A6337A
secondary
#75C092
accent
#DC834B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A6337A

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

Preview Lab → · Contrast checker → · Palette generator →

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