#A6337C#A6337C

#A6337C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.168 H 345.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A6337C
RGBrgb(166, 51, 124)
HSLhsl(322, 53%, 43%)
HSVhsv(322, 69%, 65%)
CMYKcmyk(0%, 69.3%, 25.3%, 34.9%)
CIE-LABlab(41.11, 53.94, -15.77)
CIE-LCHlch(41.11, 56.19, 343.71°)
OKLaboklab(51.45% 0.1631 -0.0418)
OKLCHoklch(51.45% 0.168 345.6)
XYZxyz(20.5486, 11.9320, 20.2858)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6337C #33A65D
analogous
#9633A6 #A6337C #A63343
triadic
#A6337C #7CA633 #337CA6
tetradic
#A6337C #A69633 #33A65D #3343A6
square
#A6337C #A69633 #33A65D #3343A6
split-complementary
#A6337C #43A633 #33A696
monochromatic
#481636 #772559 #A6337C #C94E9C #D77CB6

Accessibility & contrast

On white

6.20
#A6337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6337C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6337C#FFFFFF#000000##FFFFFF
##A6337C1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547E
Deuteranopia (green-blind)
#626879
Tritanopia (blue-blind)
#B13153
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6337c;
/* rgb */ color: rgb(166, 51, 124);
/* oklch */ color: oklch(51.5% 0.168 345.6);
Tailwind
colors: {
  custom: {
    50: '#c474a2',
    500: '#a6337c',
    950: '#000000',
  },
}
SCSS
$custom: #a6337c;
$custom-light: #c474a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6337c",
  "rgb": {
    "r": 166,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 321.913,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51452,
    "c": 0.16834,
    "h": 345.6
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#A6337C
secondary
#75C090
accent
#DC804B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A6337C

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

Preview Lab → · Contrast checker → · Palette generator →

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