#A6336F#A6336F

#A6336F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.161 H 352.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A6336F
RGBrgb(166, 51, 111)
HSLhsl(329, 53%, 43%)
HSVhsv(329, 69%, 65%)
CMYKcmyk(0%, 69.3%, 33.1%, 34.9%)
CIE-LABlab(40.61, 52.28, -8.45)
CIE-LCHlch(40.61, 52.96, 350.82°)
OKLaboklab(50.93% 0.1597 -0.0218)
OKLCHoklch(50.93% 0.161 352.2)
XYZxyz(19.7800, 11.6246, 16.2379)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6336F #33A66A
analogous
#A433A6 #A6336F #A63335
triadic
#A6336F #6FA633 #336FA6
tetradic
#A6336F #A6A433 #33A66A #3335A6
square
#A6336F #A6A433 #33A66A #3335A6
split-complementary
#A6336F #35A633 #33A6A4
monochromatic
#481630 #772550 #A6336F #C94E8E #D77CAC

Accessibility & contrast

On white

6.32
#A6336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A6336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6336F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6336F#FFFFFF#000000##FFFFFF
##A6336F1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455371
Deuteranopia (green-blind)
#66676C
Tritanopia (blue-blind)
#B22B4C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6336f;
/* rgb */ color: rgb(166, 51, 111);
/* oklch */ color: oklch(50.9% 0.161 352.2);
Tailwind
colors: {
  custom: {
    50: '#c47398',
    500: '#a6336f',
    950: '#000000',
  },
}
SCSS
$custom: #a6336f;
$custom-light: #c47398;
$custom-dark: #000000;
JSON
{
  "hex": "#a6336f",
  "rgb": {
    "r": 166,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 328.696,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.16118,
    "h": 352.2
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#A6336F
secondary
#75C099
accent
#DC914B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A6336F

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

Preview Lab → · Contrast checker → · Palette generator →

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