#A6336B#A6336B

#A6336B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.159 H 354.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A6336B
RGBrgb(166, 51, 107)
HSLhsl(331, 53%, 43%)
HSVhsv(331, 69%, 65%)
CMYKcmyk(0%, 69.3%, 35.5%, 34.9%)
CIE-LABlab(40.47, 51.80, -6.16)
CIE-LCHlch(40.47, 52.17, 353.21°)
OKLaboklab(50.78% 0.1585 -0.0156)
OKLCHoklch(50.78% 0.159 354.4)
XYZxyz(19.5647, 11.5384, 15.1039)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6336B #33A66E
analogous
#A633A4 #A6336B #A63533
triadic
#A6336B #6BA633 #336BA6
tetradic
#A6336B #A4A633 #33A66E #3533A6
square
#A6336B #A4A633 #33A66E #3533A6
split-complementary
#A6336B #33A635 #33A4A6
monochromatic
#48162F #77254D #A6336B #C94E89 #D77CA9

Accessibility & contrast

On white

6.35
#A6336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6336B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6336B#FFFFFF#000000##FFFFFF
##A6336B1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526D
Deuteranopia (green-blind)
#676768
Tritanopia (blue-blind)
#B3294A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6336b;
/* rgb */ color: rgb(166, 51, 107);
/* oklch */ color: oklch(50.8% 0.159 354.4);
Tailwind
colors: {
  custom: {
    50: '#c57395',
    500: '#a6336b',
    950: '#000000',
  },
}
SCSS
$custom: #a6336b;
$custom-light: #c57395;
$custom-dark: #000000;
JSON
{
  "hex": "#a6336b",
  "rgb": {
    "r": 166,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 330.783,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.15928,
    "h": 354.4
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6336B

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

Preview Lab → · Contrast checker → · Palette generator →

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