#A8336F#A8336F

#A8336F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.163 H 352.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A8336F
RGBrgb(168, 51, 111)
HSLhsl(329, 53%, 43%)
HSVhsv(329, 70%, 66%)
CMYKcmyk(0%, 69.6%, 33.9%, 34.1%)
CIE-LABlab(40.96, 52.86, -7.89)
CIE-LCHlch(40.96, 53.44, 351.51°)
OKLaboklab(51.25% 0.1616 -0.0202)
OKLCHoklch(51.25% 0.163 352.9)
XYZxyz(20.2027, 11.8425, 16.2578)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8336F #33A86C
analogous
#A733A8 #A8336F #A83334
triadic
#A8336F #6FA833 #336FA8
tetradic
#A8336F #A8A733 #33A86C #3334A8
square
#A8336F #A8A733 #33A86C #3334A8
split-complementary
#A8336F #34A833 #33A8A7
monochromatic
#4A1631 #792550 #A8336F #C94F8E #D87EAC

Accessibility & contrast

On white

6.24
#A8336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A8336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8336F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8336F#FFFFFF#000000##FFFFFF
##A8336F1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465371
Deuteranopia (green-blind)
#67686C
Tritanopia (blue-blind)
#B52A4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8336f;
/* rgb */ color: rgb(168, 51, 111);
/* oklch */ color: oklch(51.3% 0.163 352.9);
Tailwind
colors: {
  custom: {
    50: '#c67498',
    500: '#a8336f',
    950: '#000000',
  },
}
SCSS
$custom: #a8336f;
$custom-light: #c67498;
$custom-dark: #000000;
JSON
{
  "hex": "#a8336f",
  "rgb": {
    "r": 168,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 329.231,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51252,
    "c": 0.16286,
    "h": 352.9
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#A8336F
secondary
#76C19A
accent
#DD924B
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #A8336F

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

Preview Lab → · Contrast checker → · Palette generator →

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