#A6337B#A6337B

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

Color values

HEX#A6337B
RGBrgb(166, 51, 123)
HSLhsl(322, 53%, 43%)
HSVhsv(322, 69%, 65%)
CMYKcmyk(0%, 69.3%, 25.9%, 34.9%)
CIE-LABlab(41.07, 53.80, -15.21)
CIE-LCHlch(41.07, 55.91, 344.21°)
OKLaboklab(51.41% 0.1628 -0.0403)
OKLCHoklch(51.41% 0.168 346.1)
XYZxyz(20.4857, 11.9068, 19.9544)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6337B #33A65E
analogous
#9833A6 #A6337B #A63341
triadic
#A6337B #7BA633 #337BA6
tetradic
#A6337B #A69833 #33A65E #3341A6
square
#A6337B #A69833 #33A65E #3341A6
split-complementary
#A6337B #41A633 #33A698
monochromatic
#481636 #772558 #A6337B #C94E9B #D77CB5

Accessibility & contrast

On white

6.21
#A6337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6337B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6337B#FFFFFF#000000##FFFFFF
##A6337B1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547D
Deuteranopia (green-blind)
#626878
Tritanopia (blue-blind)
#B13152
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6337b;
/* rgb */ color: rgb(166, 51, 123);
/* oklch */ color: oklch(51.4% 0.168 346.1);
Tailwind
colors: {
  custom: {
    50: '#c474a1',
    500: '#a6337b',
    950: '#000000',
  },
}
SCSS
$custom: #a6337b;
$custom-light: #c474a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a6337b",
  "rgb": {
    "r": 166,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 322.435,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5141,
    "c": 0.16774,
    "h": 346.1
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#A6337B
secondary
#75C091
accent
#DC824B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A6337B

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

Preview Lab → · Contrast checker → · Palette generator →

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