#A8336C#A8336C

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

Color values

HEX#A8336C
RGBrgb(168, 51, 108)
HSLhsl(331, 53%, 43%)
HSVhsv(331, 70%, 66%)
CMYKcmyk(0%, 69.6%, 35.7%, 34.1%)
CIE-LABlab(40.86, 52.51, -6.17)
CIE-LCHlch(40.86, 52.87, 353.29°)
OKLaboklab(51.14% 0.1607 -0.0156)
OKLCHoklch(51.14% 0.161 354.4)
XYZxyz(20.0402, 11.7775, 15.4024)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8336C #33A86F
analogous
#A833A7 #A8336C #A83433
triadic
#A8336C #6CA833 #336CA8
tetradic
#A8336C #A7A833 #33A86F #3433A8
square
#A8336C #A7A833 #33A86F #3433A8
split-complementary
#A8336C #33A834 #33A7A8
monochromatic
#4A1630 #79254E #A8336C #C94F8B #D87EAA

Accessibility & contrast

On white

6.26
#A8336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A8336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8336C
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8336C#FFFFFF#000000##FFFFFF
##A8336C1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536E
Deuteranopia (green-blind)
#686869
Tritanopia (blue-blind)
#B5294B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8336c;
/* rgb */ color: rgb(168, 51, 108);
/* oklch */ color: oklch(51.1% 0.161 354.4);
Tailwind
colors: {
  custom: {
    50: '#c67496',
    500: '#a8336c',
    950: '#000000',
  },
}
SCSS
$custom: #a8336c;
$custom-light: #c67496;
$custom-dark: #000000;
JSON
{
  "hex": "#a8336c",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 330.769,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.16147,
    "h": 354.4
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#A8336C
secondary
#76C19C
accent
#DD964B
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #A8336C

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

Preview Lab → · Contrast checker → · Palette generator →

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