#A6337E#A6337E

#A6337E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.170 H 344.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A6337E
RGBrgb(166, 51, 126)
HSLhsl(321, 53%, 43%)
HSVhsv(321, 69%, 65%)
CMYKcmyk(0%, 69.3%, 24.1%, 34.9%)
CIE-LABlab(41.19, 54.21, -16.88)
CIE-LCHlch(41.19, 56.77, 342.71°)
OKLaboklab(51.54% 0.1635 -0.0449)
OKLCHoklch(51.54% 0.17 344.6)
XYZxyz(20.6764, 11.9831, 20.9587)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6337E #33A65B
analogous
#9533A6 #A6337E #A63344
triadic
#A6337E #7EA633 #337EA6
tetradic
#A6337E #A69533 #33A65B #3344A6
square
#A6337E #A69533 #33A65B #3344A6
split-complementary
#A6337E #44A633 #33A695
monochromatic
#481637 #77255A #A6337E #C94E9E #D77CB7

Accessibility & contrast

On white

6.18
#A6337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A6337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6337E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6337E#FFFFFF#000000##FFFFFF
##A6337E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#62687B
Tritanopia (blue-blind)
#B13254
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6337e;
/* rgb */ color: rgb(166, 51, 126);
/* oklch */ color: oklch(51.5% 0.170 344.6);
Tailwind
colors: {
  custom: {
    50: '#c474a3',
    500: '#a6337e',
    950: '#000000',
  },
}
SCSS
$custom: #a6337e;
$custom-light: #c474a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6337e",
  "rgb": {
    "r": 166,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 320.87,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.16956,
    "h": 344.6
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#A6337E
secondary
#75C08F
accent
#DC7E4B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6337E

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

Preview Lab → · Contrast checker → · Palette generator →

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