#A8336B#A8336B

#A8336B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.1% C 0.161 H 355.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A8336B
RGBrgb(168, 51, 107)
HSLhsl(331, 53%, 43%)
HSVhsv(331, 70%, 66%)
CMYKcmyk(0%, 69.6%, 36.3%, 34.1%)
CIE-LABlab(40.83, 52.39, -5.60)
CIE-LCHlch(40.83, 52.69, 353.90°)
OKLaboklab(51.11% 0.1604 -0.0141)
OKLCHoklch(51.11% 0.161 355)
XYZxyz(19.9873, 11.7563, 15.1237)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8336B #33A870
analogous
#A833A5 #A8336B #A83533
triadic
#A8336B #6BA833 #336BA8
tetradic
#A8336B #A5A833 #33A870 #3533A8
square
#A8336B #A5A833 #33A870 #3533A8
split-complementary
#A8336B #33A835 #33A5A8
monochromatic
#4A162F #79254D #A8336B #C94F89 #D87EA9

Accessibility & contrast

On white

6.27
#A8336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A8336B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8336B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8336B#FFFFFF#000000##FFFFFF
##A8336B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536D
Deuteranopia (green-blind)
#686868
Tritanopia (blue-blind)
#B5294B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8336b;
/* rgb */ color: rgb(168, 51, 107);
/* oklch */ color: oklch(51.1% 0.161 355.0);
Tailwind
colors: {
  custom: {
    50: '#c67495',
    500: '#a8336b',
    950: '#000000',
  },
}
SCSS
$custom: #a8336b;
$custom-light: #c67495;
$custom-dark: #000000;
JSON
{
  "hex": "#a8336b",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 331.282,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51105,
    "c": 0.16102,
    "h": 355
  },
  "luminance": 0.11754
}

Semantic roles & 50–950 ramp

primary
#A8336B
secondary
#76C19D
accent
#DD974B
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #A8336B

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

Preview Lab → · Contrast checker → · Palette generator →

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