#A6337D#A6337D

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

Color values

HEX#A6337D
RGBrgb(166, 51, 125)
HSLhsl(321, 53%, 43%)
HSVhsv(321, 69%, 65%)
CMYKcmyk(0%, 69.3%, 24.7%, 34.9%)
CIE-LABlab(41.15, 54.07, -16.32)
CIE-LCHlch(41.15, 56.48, 343.20°)
OKLaboklab(51.5% 0.1633 -0.0434)
OKLCHoklch(51.5% 0.169 345.1)
XYZxyz(20.6122, 11.9574, 20.6206)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6337D #33A65C
analogous
#9533A6 #A6337D #A63344
triadic
#A6337D #7DA633 #337DA6
tetradic
#A6337D #A69533 #33A65C #3344A6
square
#A6337D #A69533 #33A65C #3344A6
split-complementary
#A6337D #44A633 #33A695
monochromatic
#481636 #77255A #A6337D #C94E9D #D77CB7

Accessibility & contrast

On white

6.19
#A6337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A6337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6337D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6337D#FFFFFF#000000##FFFFFF
##A6337D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40557F
Deuteranopia (green-blind)
#62687A
Tritanopia (blue-blind)
#B13153
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6337d;
/* rgb */ color: rgb(166, 51, 125);
/* oklch */ color: oklch(51.5% 0.169 345.1);
Tailwind
colors: {
  custom: {
    50: '#c474a2',
    500: '#a6337d',
    950: '#000000',
  },
}
SCSS
$custom: #a6337d;
$custom-light: #c474a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6337d",
  "rgb": {
    "r": 166,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 321.391,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.16894,
    "h": 345.1
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

primary
#A6337D
secondary
#75C090
accent
#DC7F4B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6337D

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

Preview Lab → · Contrast checker → · Palette generator →

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