#A6336C#A6336C

#A6336C is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.160 H 353.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A6336C
RGBrgb(166, 51, 108)
HSLhsl(330, 53%, 43%)
HSVhsv(330, 69%, 65%)
CMYKcmyk(0%, 69.3%, 34.9%, 34.9%)
CIE-LABlab(40.51, 51.92, -6.74)
CIE-LCHlch(40.51, 52.36, 352.61°)
OKLaboklab(50.82% 0.1588 -0.0172)
OKLCHoklch(50.82% 0.16 353.8)
XYZxyz(19.6176, 11.5596, 15.3826)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6336C #33A66D
analogous
#A633A5 #A6336C #A63433
triadic
#A6336C #6CA633 #336CA6
tetradic
#A6336C #A5A633 #33A66D #3433A6
square
#A6336C #A5A633 #33A66D #3433A6
split-complementary
#A6336C #33A634 #33A5A6
monochromatic
#48162F #77254E #A6336C #C94E8B #D77CA9

Accessibility & contrast

On white

6.34
#A6336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A6336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6336C
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6336C#FFFFFF#000000##FFFFFF
##A6336C1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526E
Deuteranopia (green-blind)
#676769
Tritanopia (blue-blind)
#B32A4B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6336c;
/* rgb */ color: rgb(166, 51, 108);
/* oklch */ color: oklch(50.8% 0.160 353.8);
Tailwind
colors: {
  custom: {
    50: '#c57396',
    500: '#a6336c',
    950: '#000000',
  },
}
SCSS
$custom: #a6336c;
$custom-light: #c57396;
$custom-dark: #000000;
JSON
{
  "hex": "#a6336c",
  "rgb": {
    "r": 166,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 330.261,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.15974,
    "h": 353.8
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#A6336C
secondary
#75C09B
accent
#DC954B
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A6336C

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

Preview Lab → · Contrast checker → · Palette generator →

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